How do I overwrite the ESC key pressed behavior for jQuery dialog
use the closeOnEscape option
$( ".selector" ).dialog({ closeOnEscape: false });
I suppose you're looking for http://docs.jquery.com/UI/Dialog#option-closeOnEscape
use the closeOnEscape option
$( ".selector" ).dialog({ closeOnEscape: false });
I suppose you're looking for http://docs.jquery.com/UI/Dialog#option-closeOnEscape