Linux Today: Linux News On Internet Time.

How to Create an Ajax Autocomplete Text Field: Part 1

Aug 17, 2008, 14:02 (0 Talkback[s])
(Other stories by Rob Gravelle)

"An obvious drawback to this approach should be apparent. What happens to preexisting handlers? You guessed it. They would be overwritten. As you can well imagine, managing multiple handlers for the same event would be a nightmare. Fortunately, JavaScript has followed in the footsteps of the Java programming language and adopted the Event Listener Model. Instead of assigning a function to the event property, we add it as a listener."

Complete Story

Related Stories: