-
I'm creating an asp page which will, of course, create
an html page.
The html page needs a line similar to this:
<input type=text name="FromDate" size=15
STYLE="Height: 24px; Width: 120px">
<a href="javascript:show_calendar('callcount.FromDate');"
onmouseover="window.status='Date Picker';return true;"
onmouseout="window.status='';return true;">
<img src="./Images/show-calendar.gif"
width=24 height=22 border=0></a>
My problem is:
"window.status='Date Picker';return true;"
Because when using asp to create the html page it looks
like:
" 'window.status='Date Picker';return true;' "
Is there a way to have double quotation marks appear in
the html page created?
-
You can use two doublequotes together inside your strings like:
Response.Write "<A HREF=""whatever.htm"" onMouseOver=""window.status='Whatever'; return true;"">Whatever</A>" & vbcrlf
Paul
-
Use the Chr() function and pass 34 (Chr(34)) and concatenate it into your string where you need the double quotes.