P
PA
Hi,
Can anyone tell me how to capture events of iframes like keypress.
I have an editable iframe. When I hit <enter> it actually prints <p>
instead of <br>. (innerHTML) Does anyone know how to handle this and
change <p> to <br>.
I can always do it in the form.submit() event. But I want to do it as
soon as 'enter' is hit.
Thanks in advance.
Pratibha
Can anyone tell me how to capture events of iframes like keypress.
I have an editable iframe. When I hit <enter> it actually prints <p>
instead of <br>. (innerHTML) Does anyone know how to handle this and
change <p> to <br>.
I can always do it in the form.submit() event. But I want to do it as
soon as 'enter' is hit.
Thanks in advance.
Pratibha