Hi all..
I am stuck with a problem. I have a web application in
Struts 1.1 running on
JBoss 4.0.2.
I have a
JSP say sample.jsp containing a link (anchor tag). When i click this link i open a pop-up window say popup.jsp paasing some parameters through window.open() method (in javascript). On popup.jsp i display some values in
String format. When i select (clicking a button) one value it gets replaced on parent page sample.jsp.
Everything is working fine until i have a String value containing double quotes ("") . When i have value with "" at sample.jsp and popup.jsp, it wont allow me to select anything. Even some links that i display at popup.jsp wont work and i am left with the only solution to close the pop-up.
I have achieved replacing mechanism using innerHTML property. I found over net that innerHTML is not a public standard. If it is the case , what else can i use ? How should i handle this issue ?
Any suggestion will be greatly appreciated..
Thanks..
Regards ~
Prasad Sonawane, Member Technical Staff, CDAC, India.