Re: ASP response.write
by "Frank Boumphrey" <bckman(at)ix.netcom.com>
|
| Date: |
Fri, 2 Nov 2001 15:03:55 -0500 |
| To: |
"Emerald Spirit" <emerald_spirit(at)yahoo.com>, <hwg-techniques(at)hwg.org> |
| References: |
yahoo |
| |
todo: View
Thread,
Original
|
|
If using VB script, doubel up the quotes.
Frank
----- Original Message -----
From: "Emerald Spirit" <emerald_spirit(at)yahoo.com>
To: <hwg-techniques(at)hwg.org>
Sent: Friday, November 02, 2001 12:53 PM
Subject: ASP response.write
> Hello all!
>
> I'm having an ASP/javascript problem I'm hoping you
> can help me out with.
>
> I've got an ASP page that is dynamically writing out
> contents from a database. The database recordset is
> put into an array, and I'm writing the HTML out to the
> browser along with the array information via the
> response.write method. It all works fine - except I
> want to add a functionality that will highlight the
> table rows via the mouseover and mouseout events.
>
> I need to be able to write the following via the
> response.write method:
>
> <.tr onMouseOver="this.bgcolor='gold'">
>
> The problem is with the quotation marks. The closest
> I seem to be able to get is: response.write "<tr
> onMouseOver='this.bgcolor=gold'>" since I don't know
> how to write out full quotation marks to the browser.
> That - and no other method I've tried will work. I
> tried adding an " to it, but it didn't like that
> either.
>
> I'm sure somebody out there has done this. Any help
> would be appreciated.
>
> TIA
> Rebecca
>
> =====
> Do while Project<>Completed
> if impossible = true then
> rethink(approach)
> set impossible = false
> end if
> loop
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.