Hi
I m new in JS in asp..
I m retrieving values from an access database (text field) containing double quotes in a javascript so it crashed ...
So how can i accept double quotes in js variable?
Here the code i m using:
product_name fiels contains double quotes...
Thanks a lot.Code:<% var list_content = Dc.Execute("SELECT * FROM product"); while(!list_content.EOF) { var sName = list_content("product_name"); var sDesc = list_content("product_summary")+""; var sLink = list_content("link"); var sImage=list_content("image_path"); %> */ sts_ai("i0",[0,"<%=(sName)%>","<%=sLink%>","_self","<%=sImage%>",121,111,"center"],["transparent","7pt Verdana,Arial","#000000","none","7pt Verdana,Arial","#000000","none"]); sts_tip("i0",[0,"<%=(sDesc)%>","stEffect(\"rect\")","",80,0,0,0,"middle","center",1,1],["9pt Verdana,Arial","#000000","none","#FFFFFF","","repeat"]); /*


Reply With Quote


Bookmarks