Re: ASP response.write

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

 Date:  Fri, 2 Nov 2001 11:22:46 -0800 (PST)
 To:  Paul Mennega <paul(at)mennega.com>
 Cc:  hwg-techniques(at)hwg.org
 In-Reply-To: 
  todo: View Thread, Original
That worked perfect!  I knew it was something silly
like that.  Thanks a ton!

Rebecca

--- Paul Mennega <paul(at)mennega.com> wrote:
> Try this
> 
> response.write "<tr
> onMouseOver=""this.bgcolor=gold"">"
> 
> You must double quotes in a response.write to get it
> to print out a single
> set of them.
> 
> ----- Original Message -----
> From: "Emerald Spirit" <emerald_spirit(at)yahoo.com>
> To: <hwg-techniques(at)hwg.org>
> Sent: Friday, November 02, 2001 10:53
> 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 &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
> >
> >
> 
> 


=====
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