Hi, I have an input box inside and iframe. If i type and press the back key to erase the text, the back key event is taken as browser back and goes to the previous page. What could be the cause.?
A:
please tell which browser you have tested with.
My guess would be that you have focus outside the field? is there a script putting focus on the document containing ths input box in the iframe?
BerggreenDK
2009-05-18 09:11:45
The behavior is happening in both IE 7 and Firefox 3.0.10
Rakesh
2009-05-18 09:36:16
A:
i even cann't raise same event. I press BackSpace in iframe, I press BackSpace in input, I press BackSpace in main page. Which browser do you work with? Is there any javascript code in the page?
Sergey Kovalenko
2009-05-18 09:20:29
A:
This is such an old browser behaviour. Update your browsers. In worst case scenario you can block the default events for the input element, using a jS library to get a unified response en browser events.
Elzo Valugi
2009-07-29 15:27:06