Welcome visitor
* Login
* Register
It is currently September 19th, 2019, 10:15 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  value with " (double quotation mark)
PostPosted: October 21st, 2009, 2:08 am 

Posts: 19
I need to add a double quote mark for a value on an input field
<input value=" " ">

But of course when i do it, it closes the value attribute, is there a way around this?


Top
 Profile  
 
  Re: value with " (double quotation mark)
PostPosted: October 21st, 2009, 2:43 am 

Posts: 117
Use the special character code
<input value="&#34;">

Or
<input value="&quot;">


Top
 Profile  
 
  Re: value with " (double quotation mark)
PostPosted: October 21st, 2009, 3:03 am 
User avatar

Posts: 70
You can use a pair of single quotation marks to set the value
<input value='this example'>

and doing it this way, you can put the double quotation as any other text
<input value='like this " '>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron