GRolf a écrit :
what solution would you propose then ?
IMHO javascript has nothing to do in (X)HTML,
use external file!
ie :
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal
On 02-09-2009 at 14:04:15 GRolf wrote:
I'm using a to fill my macro template with
javascript code. However, all < are converted to $lt;, which (seems
to) cause an error in a for loop
for (i=0; i < myarray.lenght; i++) {
...
}
is converted to
for (i=0; i < myarray.lenght; i++) {
...
}
and
On 02-09-2009 at 14:12:39 Tjerk Meesters wrote:
Start your script with
You must *not* do that in XHTML, because in XHTML this may actually
comment out the script. XHTML doesn't have HTML's "magic" treatment of
Start your script with
On 9/2/09, GRolf wrote:
> I'm using a to fill my macro template with
> javascript code. However, all < are converted to $lt;, which (seems
> to) cause an error in a for loop
>
> for (i=0; i < myarray.lenght; i++) {
> ...
> }
>
> is converted to
>
> for (i=0; i < myarray.