rizlaa
01-19-2007, 03:58 PM
I am using the folowing link
http://www.dynamicdrive.com/forums/archive/index.php/t-11419.html
to disable the backspace button from going back one page in the history when focus is on a non-editable iframe.
I need to be able to determine if the iframe in focus is editable. The contenteditable for each of the iframes is returning 'inherit' when some are editable and some are not.
is there a way of determining this so that the onkeypress event handler only prevents keycode 8 for non-editable iframes.
http://www.dynamicdrive.com/forums/archive/index.php/t-11419.html
to disable the backspace button from going back one page in the history when focus is on a non-editable iframe.
I need to be able to determine if the iframe in focus is editable. The contenteditable for each of the iframes is returning 'inherit' when some are editable and some are not.
is there a way of determining this so that the onkeypress event handler only prevents keycode 8 for non-editable iframes.