I want to send sql variable to a javascript function
I want to send sql variable to a javascript function
when i send a one word string it works fine
<LI onclick=showhide(<%=(rs"id")%>)>click</li>
but when i send a whole sentence it does not work at all
<LI onclick=showhide(<%=rs("message")%>)>click</li>
any ideas who to solve this problem?
i tried to send it as cstr(rs("message")) and trim(rs("message"))
but nothing works
Bookmarks