Hi
I have a problem with the facebox plugin and jquery running in IE.

I have jquery and the facebox plugin.

I apply facebox to a link the normal way.

the correct content loads into the facebox.

HOwever when if I press the return key, the facebox will disappear and
reload. 

IN Firefox a press of the return key does not affect the facebox. 

IS there a way yot prevent a key press, the return key from
reloading/calling the facebox  when pressed?

I've tried JS to listen for the carriage return key and but whatever I do
the a return click will reload the facebox before doing anything I program a
return key click to do!

This becomes a problem if you are using a facebox to confirm an action. EG
to confirm a delete. The facebox pops up with the confirmation message "are
u sure?", the user then hits return and the facebox reloads.

I prefer it to be like the Firefox where a return key press does not affect
the facebox.

Thanks. 

Any advice appreciated!

Jamie
-- 
View this message in context: 
http://www.nabble.com/A-return-key-press-causes-JQuery-Facebox-to-reload-in-IE-tp16418455s27240p16418455.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to