<script> <br>/*About the link of the pop-up window Question<br>* 2014-04-24 <br>*/1: How to invalidate hyperlink a after onclick pop-up window <br>//js solution<br>function arts(sourceobj){ <br><br>var url = $(sourceobj).attr("href"); <br>art.dialog.open(url, {title: 'title',width: 400, height: 300}); <br>return false ; <br>} <br>//jquery solution<br>$(document).ready(function(){ <br>$('#aaa').click( function () { <br>var url = $ (this).attr("href"); <br>art.dialog.open(url, {title: 'title',width: 400, height: 300}); <br>return false; <br><br><br>}); <br>}); <br></script>
Trigger pop-up window a>
Trigger pop-up window //2: Do not submit ajax Place the button on submit