RE: javascript variables in embperl tag

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

Re: javascript variables in embperl tag

2005-11-18 Thread Derrick Spell
Well, I'm certainly not a javascript expert, but it seems to me that the issue here is how to make data pulled by embperl on the server side available to the javascript on the client side. I assume that there is a way to access submitted form data from javascript. You can put the data into