1
Reply

Javascript Parameters containing Apostrophes in asp

Ask a question
Bhaswati Sarkar

Bhaswati Sarkar

15y
6.4k
1

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)