M
Mark Szlazak
Is there anything for Mozilla or Firefox that would be equivalent to
IE's onpaste event for a textarea?
IE's onpaste event for a textarea?
Mark said:Is there anything for Mozilla or Firefox that would be equivalent to
IE's onpaste event for a textarea?
I should add that using onchange presents a problem since the event
doesn't fire until the textarea looses focus. Whatever solutions that
exist need to work like onpaste without the focus issues of onchange.
DU said:Maybe if you could provide an url showing how your script works for
MSIE, I could have a look at it and maybe propose an alternative.
DU
Mark said:Is there anything for Mozilla or Firefox that would be equivalent to
IE's onpaste event for a textarea?
Martin said:You could try to use
<textarea oninput="..."
with Mozilla, of course it doesn't fire only for text being pasted but
also for other text manipulation like cutting text but at I think it is
the only event handler in Mozilla and HTML documents being fired when
text is pasted into a text control.
Martin said:You could try to use
<textarea oninput="..."
with Mozilla, of course it doesn't fire only for text being pasted but
also for other text manipulation like cutting text but at I think it is
the only event handler in Mozilla and HTML documents being fired when
text is pasted into a text control.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.