RE: [PEAR] HTML_quickForm: Seperating JavaScript from html
| From: | Mark Steudel | Date: | Tue, 11 Oct 2005 23:36:37 +0000 |
| Subject: | RE: [PEAR] HTML_quickForm: Seperating JavaScript from html | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21374@lists.php.net to get a copy of this message | ||
How are you displaying the rest of the data?
-----Original Message-----
From: Andras Kende [mailto:andras@kende.com]
Sent: Tuesday, October 11, 2005 4:31 PM
To: 'Mark Steudel'; 'PEAR general list'
Subject: RE: [PEAR] HTML_quickForm: Seperating JavaScript from html
-----Original Message-----
From: Mark Steudel [mailto:mark@netriver.net]
Sent: Tuesday, October 11, 2005 6:21 PM
To: 'PEAR general list'
Subject: [PEAR] HTML_quickForm: Seperating JavaScript from html
I am looking for a way to easily separate the javascript from the body of
the HTML generated from QuickForm and put it into the head. I am trying to
use Smarty to accomplish this. I don't want to have to make a template for
all of the forms as I like they way the look just fine. I just went to move
the javascript from the body to the head.
Thanks, mark
Hello,
I'm using quickform with smarty and putting the js to the header in my
templates like:
{if $formdata.javascript}
{$formdata.javascript}
{/if}
Andras Kende
http://www.kende.com
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php