portalguy123
Programmer
Hello Experts,
I have a scenario where I need to eval a string which contains newline characters..The string result2 has the following script as its value, however when I evaluate the string with eval(result2); it seems it does not get evaluated ..Please let me know if there is a workaround for this problem.
Thanks a lot!
result2=
I have a scenario where I need to eval a string which contains newline characters..The string result2 has the following script as its value, however when I evaluate the string with eval(result2); it seems it does not get evaluated ..Please let me know if there is a workaround for this problem.
Thanks a lot!
result2=
Code:
// Build the netui_names table to map the tagId attributes
// to the real id written into the HTML
if (netui_names == null)
var netui_names = new Object();
netui_names.fname0="fname0"
netui_names.email0="email0"
netui_names.lname0="lname0"
netui_names.box0="wlw-checkbox_key:{request.results[0].checked}"
netui_names.mi0="mi0"