下次

下次

Tag

当前位置:首页 > 下次 >
  • js 确认 a 标签是否跳转

    js 确认 a 标签是否跳转

    <!-- 默认使用 jquery --> <a href=\"http://www.8hi.com.cn\">a标签</a> <script> $(function(){ $(\'a\').click(function(){ alert(\'ok\'); var $res = confirm(\'真的要跳转吗?\'); if(!$res){ //

    查看更多 2024-05-18

提交需求或反馈

Demand feedback