Javascript Parameters containing Apostrophes in asp

Dec 16 2008 7:33 AM

I am facing a problem in java script when try to replacing Apostrophes.

I am trying deifferent way such as \',\x27

<a href="javascript:void(loadObject3(<%=objectIDArray(i)%>,'',1,1, '<%=Replace(quickFindSearchString,"''","\x27")%>'));"><%=objectNameArray(i)%></a>

1st it will open hyper-link then throwing an error.

can  any-body assist me to resolve the problem.


Answers (1)