我有这个jQuery代码,当用户单击div中的任何链接时,它会弹出确认框。但是,如果我首先单击一个链接确认框,它就会弹出,如果我单击cancel,操作被取消,console.log表示confirm is not a function,如果我单击OK,操作被执行,console.log也表示confirm is
我有一个href标记,其中包含指向另一个页面的链接。<a name="mylink" class="mylink" href="path-to-new-page.html">Link to new page</a>onclick="return confirm('would you like to see our help cente