|
-
Jan 16th, 2001, 09:29 AM
#1
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.
-
Jan 16th, 2001, 09:45 AM
#2
Fanatic Member
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!
-
Jan 16th, 2001, 09:52 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|