<script> <BR>/*关于弹窗的链接的问题 <BR>* 2014-04-24 <BR>*/1:超链接a onclick 弹窗之后如何让超链接a失效 <BR>//js解决 <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解决 <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>
触发弹窗 触发弹窗 //2:ajax提交不要把按钮放在submit上