Have you done "View Source" from your browser? Chances are pretty good that the error will jump right out. It's likely to be missing quotation marks or characters that should be escaped in a JavaScript environment.

-- Jeff

Sergey Livanov wrote:
I'm trying to assign value to a Java script variable.
When I'm typing in a text, the code works
 <script type="text/javascript">
   TREE_DESC = [
       ............
   ] ;
</script>

when the value is assigned from bean, all I get is error jscript.

 <script type="text/javascript">
     TREE_DESC = [
         <c:out value='${goodtree.tree}'/>
     ] ;
 </script>

regards,
 Sergey                          mailto:[EMAIL PROTECTED]


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



Reply via email to