i have made auto grow textarea.it's working fine but when copying and pasting using right click it's not working properly.if i use onchange event in this situation it won't work either because to fire this event we need press enter or tab. please help me to solve this problem
A:
How about additionally listening to the onpaste event? It's not part of the standard, but works in most major browsers.
Pekka
2010-06-17 17:36:53
but this event gets fired just before anything is pasted
Niraj Choubey
2010-06-17 17:48:32
@Niraj odd. Are yopu sure? Because that should be done by (IE specific) `onbeforepaste` but not `onpaste`. Can't investigate right now...
Pekka
2010-06-17 17:51:36