Re: Livesearch: onchange events on firefox 2.x and iceweasel 2.x
| From: | Mark Wiesemann | Date: | Tue, 24 Apr 2007 14:50:09 +0000 |
| Subject: | Re: Livesearch: onchange events on firefox 2.x and iceweasel 2.x | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27134@lists.php.net to get a copy of this message | ||
Hi Paolo,
Paolo Sala wrote:
Mark Wiesemann scrisse in data 24/04/2007 11:55:I am sure. I don't lie to you. ;-) Can you maybe put the test script somewhere online and post the URL of it here? That would make it easy for people to test it with different browsers on different platforms. Opera 9 on Windows has also no problems here, the alert() window is shown.After I added your event to index.php, on Windows with FF 2 and IE 7 it fires as expected, after leaving e.g. the first field with the tab key or by clicking into another field.Are you sure?
zizi:~# diff /usr/share/php/tests/HTML_QuickForm_Livesearch/example/index.php /var/www/prove/example/index.php 27c27Maybe this last line is just broken here in the email, but isn't the 'Some data:' parameter missing here? Maybe this breaks your whole page? (In my tests I had only added the event to line 27.) Regards, Mark -- http://www.markwiesemann.eu< array('size' => '50')---'onchange'=>'alert(\'Hello, world!\');') 37c37 < $form->addElement('text', 'required_field', 'errorTest', 'Some data:'); ---array('size' => '50',$form->addElement('text', 'required_field', 'errorTest',array('onchange'=>'alert(\'Hello, world!\');'));