1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem using single/double quotes as TextBox Value

Discussion in 'HTML & Website Design' started by ketan9, Oct 5, 2006.

  1. #1
    I would like to display a value for eg.

    <input type="text"  name="a" value="This is 'a' "ultimate" test"/>
    Code (markup):
    I would like the text box to have value {This is 'a' "ultimate" test} but instead since the double quotes are used as closing, the text box would have {This is 'a' }

    Please help me in having this worked out. I know its something silly that I am missing out..:(

    Thanks
    Ketan
     
    ketan9, Oct 5, 2006 IP
  2. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #2
    do this


    <input type="text"  name="a" value="This is 'a' &quot;ultimate&quot; test"/>
    Code (markup):
     
    fordP, Oct 5, 2006 IP
    ketan9 likes this.
  3. ketan9

    ketan9 Active Member

    Messages:
    548
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Hey fordP thanks, I forgot this &quot;. I knew it was something small. You know sometimes small things keeps you going in circles :)

    Thank you,
     
    ketan9, Oct 5, 2006 IP
  4. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #4
    no problem, just remember you cant do that for the tags " " 's
     
    fordP, Oct 5, 2006 IP