问题
Talking about SimpleModal the jQuery plugin. Most of the time I think it is a handy feature but I am finding that in a certain case I need to remove it. What are my options?
回答1:
use the escClose option:
escClose [Boolean:true] Allow Esc keypress to close the dialog?
http://www.ericmmartin.com/projects/simplemodal/
来源:https://stackoverflow.com/questions/2593711/can-i-disable-the-esc-key-close-in-simplemodal