[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    RE: [SMARTY] html_checkboxes and own JS function
From:       <arie () riyari ! com>
Date:       2004-11-05 11:37:20
Message-ID: 002c01c4c32b$f160cec0$0e29053d () riyari
[Download RAW message or body]

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.
>

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic