|
-
Oct 20th, 2000, 04:17 PM
#1
Thread Starter
Lively Member
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?
-
Oct 20th, 2000, 06:32 PM
#2
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
-
Oct 21st, 2000, 11:49 AM
#3
Frenzied Member
Use the Chr() function and pass 34 (Chr(34)) and concatenate it into your string where you need the double quotes.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|