This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?