//Supose to work in the iframe with id frame_SIA
$("#frame_SIA").contents().find(document).bind('keydown', 'ctrl+s', function(evt) {
evt.stopPropagation( );
evt.preventDefault( );
alert(' trying to save');
if(!inproccess){
SSubmit();
}
});
//works normally in the parent doc
$(document).bind('keydown', 'ctrl+s', function(evt) {
evt.stopPropagation( );
evt.preventDefault( );
if(!inproccess){
SSubmit();
}
});
|