RE: [PEAR] HTML_quickForm: Seperating JavaScript from html

From: Date: Tue, 11 Oct 2005 23:31:21 +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-21373@lists.php.net to get a copy of this message
-----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

« previous php.pear.general (#21373) next »