> 
> I might use javascript's document.write, but I wonder if it's 
> possible in embperl space (maybe a new tag?), like
> 
> <script>var myarray=new Array(1,3,4,7);</script> 
> [=myarray[0]=] instead of document.write
> 
> which will do the same as
> [-my @myarray=(1,3,4,7)-]
> [+$myarray[0]+]
> 

You cannot directly put JavaScript inside a HTML Page, like you can do it
with Embperl. You have to use document.write or xxx.innerHTML or
GetElementByID('xxx').value to update things in a page, so it will not be
easy to auto generate such code.

In case you develope some JavaScript code that does what you need, than you
can create (and maybe share) an new Embperl::Syntax to get it easy done if
Embperl 

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to