DZone ForumsDZone Forums  

Go Back   DZone Forums > Community > Languages & Frameworks > Ajax & Javascript
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
LinkBack Thread Tools Display Modes

Topic: Javascript input text event
Old 04-15-2008, 06:16 PM   #1 (permalink)
Member
 
Join Date: Apr 2008
Posts: 1
Hi,
In my application I am using AJAX for form auto completion. As soon as the user enters the Id, the corresponding information from the database is displayed in the other fields automatically.

I am using <input type="text" onchange="somemethod()">

The problem with onchange event is, if the user chooses the Id from the previousely used values catched by the browser, it is not working.

Is there a better event than onchange for doing this. I tried using onblur event.But its not supported by some of the browsers. Or, is there a way to stop the browser from remembering the previousely entered values?

Thanks,
Srilatha
svan123 is offline   Reply /w Quote -


Thread Tools
Display Modes



All times are GMT -5. The time now is 02:35 AM.