AW: Smarty vs. JavaScript

From: Date: Thu, 06 Sep 2001 16:08:03 +0000
Subject: AW: Smarty vs. JavaScript
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1439@lists.php.net to get a copy of this message
try to use the literal tag as described in the manual: Example 5-17. literal tags {literal} <script language=javascript> <!-- function isblank(field) { if (field.value == '') { return false; } else { document.loginform.submit(); return true; } } // --> </script> {/literal} > > Hi! > > I'm having some problem with the current smarty snapshot and > JavaScript. > In my template, I've got: > > [...] > <script language="JavaScript"> > <!-- > function Foo(){ > document.write('blah'); > } > --> > </script> > [...] >

« previous php.smarty.general (#1439) next »