Saturday 15 January 2011

jquery - Don't auto-close dialog onClick -


How can I turn off the mouse by clicking on the jQuery dialog? It is okay to stop killing ASK, but I want to keep it open until it closes by clicking on the close-icon.

Any thoughts?

Post-text "itemprop =" text ">

You can use dialogue barclosures events to pass the callback function, whenever the dialog is going to close.

If you come back to false from this task, then the closure will be canceled.

  $ ('selector'). 'Dialogbeforeclose', function (event, ui) {...});  

You can do something like check the element that results from the event Was given, and its use was determined For the user clicked to turn on X or on anything else.


No comments:

Post a Comment