Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11216 closed bug (invalid)

funcation works only once

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

hi .. i have one link . onclicking this link jquery dialogbox is open with its child

i need cod to close all open jquery dialog box on escape key

this is my code

<script>

jQuery(document).contents().keyup(function(e) {

if(e.which == 27) {

window.parent.jQuery(".ui-dialog,.ui-widget-overlay").dialog('close').hide();

} return false;

});

</script>

it works properly BUT, when i click on link again the dialog is not open in back ground the action is called but jquery dialog box is not open and visible pls help me on this bug thanks in advance

Change History (1)

comment:1 Changed 8 years ago by addyosmani

Priority: undecidedlow
Resolution: invalid
Status: newclosed

Thanks for submitting a ticket to the jQuery bug tracker. Unfortunately we only handle issues to do with jQuery core. For assistance with jQuery UI please either submit your issue to their bug tracker http://bugs.jqueryui.com or ask for further assistance in #jquery on freenode.

Note: See TracTickets for help on using tickets.