jquery - vex confirm dialog, how can i manage the a href-event handling -


I am trying to use a modal script for a confirmation dialog if it is chosen to be canceled, href The incident should be canceled.

One of my href:

   

and my javascript:

  $ ('a.confirm'). Click (function () {var page = $ (this) .attr ('relay'); vex.dialog.buttons.YES.text = 'cancel'; vex.dialog.buttons.NO.text = 'go forward '; Vex.dialog.confirm ({Message:' Do you know? ', Callback: function (value) {Cancel (value === incorrect) {// Load an href site} Other {// Cancel ; Return Return;}}})}});  

Unfortunately after clicking on the confirmation link, a href site will be unfortunately loaded

thanks in advance.

The best way Thomas


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -