Re: Re: Livesearch: onchange events on firefox 2.x and iceweasel 2.x

From: Date: Thu, 26 Apr 2007 09:43:04 +0000
Subject: Re: Re: Livesearch: onchange events on firefox 2.x and iceweasel 2.x
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27157@lists.php.net to get a copy of this message
> But Have you tried to select a element from the list? Okay, this does not work in FF2. > In effect if I write something without choosing a word from the > livesearch list and press TAB or click with the mouse somewhere on the > page, the event onchange is fired. But in effect the field is not > changed: is ever the same empty value string. Hmmh this problem seems to be known: http://dev.rubyonrails.org/ticket/5179 Having looked around the net, I found some references to problems with the name attribute. Could it be because of your id and name values not matching? Okay just tested the example myself. When I rename elementId from search to 'Nome' in index.php and function search() to Nome() in livesearch.class.php it works as expected. Cheers Jan

« previous php.pear.general (#27157) next »