problem fetching value of <input type="text"...
- From: "Smugsboy" <smugs_boy@xxxxxxxxx>
- Date: 29 Nov 2005 23:58:47 -0800
Got a problem here, hope someone can help.
I want to fetch edit box's (<input type="text"...) value string upon
change. What I do is I attach handler to the onkeypress event. I have
two issues with this:
1. When the onkeypress handler executes I do not get the latest char
that was pressed (if the 't' char for "cat" was pressed I'll only get
"ca"), this is true for both IE & Firefox. Is there any solution to
this ? I need a solution that will work both on IE & Firefox.
2. Is there a more through event I should attach to ? because using
only the onkeypress I miss copy-paste operations.
Thanks,
.
- Prev by Date: How to call a javascript routine to stream an audio file
- Next by Date: Re: CSS parent:hover child?
- Previous by thread: How to call a javascript routine to stream an audio file
- Index(es):
Relevant Pages
|