removing multiple escape characters from javascript function

Cerigueme

New Member
I am using this statement to invoke the javascript and removing the single quote escape character from the values that I am passing to javascript function.\[code\]<label style="text-decoration: underline" onclick="javascript:GetSelectedRow('<%# Eval("ID") %>','<%# Eval("systempath").ToString().Replace("'", @"\'"); %>','','',1);"><%#Eval("ID") %></label>\[/code\]how can I modify the above line so that it also removes the double quotes and single quotes together.any help will be appreciated.
 
Back
Top