comma delimit javascript/asp line
What is the correct way to comma delimit this line, I keep getting javascript errors:
<a href="javascript:doSubmit(<%= pound & rs("AdvertiserID")%>, <%=rs("AdvertiserName")%>)">
Its Friday, what can I say...
The <%=rs("AdvertiserName")%>) can have single quotes in it, such as Dillard's开发者_开发知识库 and needs to be delimited, how would I add them? so I would end up with doSubmit(5432, "Dillard's")?
Thanks, R.
I think you need to swap the positions of your final double quote and close parenthesis:
)" instead of ")
精彩评论