Results 1 to 3 of 3

Thread: Sending dbl quotes to text box

  1. #1
    Guest

    Exclamation

    Anybody know how to send double-quotes to a text box?

    Here's the situation:

    A user is filling out information, and in the name box, if they put in a nickname: Joe "mooch" blow, then if the data is reposted in another text box for confirmation/editing, only Joe will appear in the text box because in the source code appears:

    <Input type="text" name="name" value = "Joe "mooch" blow">


    I have played with replacing the dbl quotes with two single quotes, but I don't really like that fix.

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Hi Bubba

    Use single quotes as your string delimeter instead. This will sort out your problem and works on all browsers


    <Input type="text" name="name" value = 'Joe "mooch" blow'>

    Hope it helps

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3
    Guest
    Brilliant.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width