Click here to Skip to main content
15,896,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear sir,


replace string (',") - using replace() fun in javascript. Error is display?

In IE Browser alone.? Why?
Error is,

            A RunTime Error has Occured. 
           Do you wish to Debug?
      
           Line:0
           Error:Expected ')'

Reply me...
Posted

1 solution

Hi,
Try Following to replace ' with "
JavaScript
.replace("\'","\"")


Hope it helps u
Best Luck
 
Share this answer
 
v2
Comments
Mohankumar.Engain 23-May-12 9:00am    
ya sure, but it wouldn't work in IE.Note: other then first row of table records are worked well. and when records displaying in web page that time Error occurred.

Nilesh Patil Kolhapur 23-May-12 9:01am    
i try this in ie its work for me boss

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900