Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Re: Double quotes


Message #1 by "Ken Schaefer" <ken@a...> on Thu, 2 Jan 2003 13:16:18 +1100
I suspect you are trying to put it inside a input element, something like
this:

<input type="text" name="myText" value=""this is a test"">

which equates to:

<input type="text" name="myText" value="" this is a test"">

so the value="", and the browser doesn't understand: this is a test"" as an
attribute, so it ignores it. Replace " with &quot;

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <bob_jones_97@y...>
Subject: [access_asp] Double quotes


: I have a content management system that includes a update page, when a
: person uses double quotes such as "this is a test", the text portion of
: the message gets written to the database as is including the double
: quotes, but disappears from the page..sort of weird..
:
: any ideas why this might be happening?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index