RE: [SMARTY] html_checkboxes and own JS function
| From: | Hoffman, Geoffrey | Date: | Mon, 01 Nov 2004 15:30:52 +0000 |
| Subject: | RE: [SMARTY] html_checkboxes and own JS function | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11938@lists.php.net to get a copy of this message | ||
You can put your javascript inside {literal} {/literal} tags to make it so
that your <script type="text/javascript"> doesn't cause a template compile
error.
That help?
> I would like to call own JS function when checkbox is checked. For
> example:
>
> <label><input type="checkbox" name="producers[]"
> onClick="Foo();"
> value="58" />Microsoft</label>
>
> Is there some way how to solve this? Thank you.