Hi All,

I have a serious problem using Rhino script.
I have a hidden input variable in my jsp and my task is to assign a array to
this object in a javascript file.
myform.myObject.value=myArray;

In my put(){} method I have written this code :

window.eval(name.toString() + '=' + value.toString());

It works for all other assignments other than this array one and gives this
array
*netscape.javascript.JSException: Failure to evaluate
value=NativeArray;@53537c*
Anyone have any idea how can I do this task.

Thanks & Regards,
Shekhar

Reply via email to