hi there, I am passing a string value to a javascript function with like Onclick="javascript:functionName('<bean:write name="xx" property="qq"/>');"
And function is like Function functionName(data) { Alert(data); } Now it works fine if <bean:write passes a string without any quotes like "this is the test" But problem comes when <bean:write passes a string with quote like "this is th'e test" So it considers as two strings and javascript function dosen't execute. So is there any way to convert "this is th'e test" to "this is the test" while using <bean:write or something else Thanks in advance shital --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]