ASP response.write

by Emerald Spirit <emerald_spirit(at)yahoo.com>

 Date:  Fri, 2 Nov 2001 09:53:20 -0800 (PST)
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
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 &quot; 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