Hi All,
i have a problem replacing all the commas in a string with ","
instead of " i'm get & # 34; in the string. the code generated can be
viewed using a brower but the problem is that i'm passing the result
as a list of parameters to a Javascript function.
here is my code :
% $alarm_list =~ s/,/","/g;
ConsoleAlarm.forValue("<%$name%>").addOptions("<%$alarm_list%>");
when $alarm_list = "t1,t2" I get this in the generated html :
ConsoleAlarm.forValue("c1").addOptions("t1& # 34;,& # 34;t2");
Please help, I'm newbie and i'm stuck with this since loo long
Thanks
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users