RE: [SMARTY] html_checkboxes and own JS function
| From: | arie at riyari dot com | Date: | Fri, 05 Nov 2004 11:37:20 +0000 |
| Subject: | RE: [SMARTY] html_checkboxes and own JS function | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11948@lists.php.net to get a copy of this message | ||
Or if you also don't like { } as delimiters, you can change them to whatever
you want. I prefer the XML-ish <smarty></smarty>
$smarty->right_delimiter = "</smarty>";
$smarty->left_delimiter = "<smarty>";
Best Regards,
Arie Kusuma Atmaja
http://www.riyari.com
Semarang - Central Java - Indonesia
Message-ID:
<078FF71625E8D4118DCB009027513652061C18D7@tribmail1.aztribune.com>
From: "Hoffman, Geoffrey" <ghoffman@aztrib.com>
To: smarty-general@lists.php.net
Date: Mon, 1 Nov 2004 08:30:52 -0700
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-2"
Subject: RE: [SMARTY] html_checkboxes and own JS function
> 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.
>