Results 1 to 3 of 3
Jan 15, 2007, 20:34 #1
- Join Date
- Jan 2007
- 0 Post(s)
- 0 Thread(s)
How to escapa or include a single quote in jscript function call
How can we include a single quote in a string when being passed as a parameter in the jscript api. I tried escaping it but no luck.
Below is the code snippet
In the above call, "params" would contain value as '#cname=swgopal's comp,#age=40,#pin=100 '
Notice a single quote " ' " in #cname=swgopal's. Because of this single quote, the calledOnLoad function parameter is getting ended and the error says missing ")"
Could some one suggest a possible solution for this.