Executing a function after <SELECT ONCHANGE=
| From: | (Pieter Van Winckel) | Date: | Fri, 29 Nov 2002 12:32:54 +0000 |
| Subject: | Executing a function after <SELECT ONCHANGE= | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6598@lists.php.net to get a copy of this message | ||
Does anybody know of its possible to execute code similar to
executing javascript with an OnChange="" event.
Like for example the user selects something in a <SELECT>
(which is an OnChange event) and then the code would execute an update
of a text field somewhere else. The OnChange event is useable if you
use javascripting, but i dont wan't to see the javascript. I would like
to use something like
$smarty->register_function(...);
or something like causing a submit to happen when something changes in
the <SELECT>.
Anybody any ideas?
Is it all possible using only smarty and php?
Thanks for reading anyway,
Pieter