?
Solved

about text field value in form

Posted on 2000-03-01
3
Medium Priority
?
160 Views
Last Modified: 2010-04-09
hi...
this is my question:


<html>
<form>
<input type="text" name="name" value="watson">
</form>
</html>

until here,nothing special...
the word watson will be in the text field.
but watch this one:

<html>
<form>
<input type="text" name="name" value="d"r watson">
</form>
</html>

i want to write d"r watson inside the text field.
is there is a way to do it without using textarea and without writing d'r watson?

elad
0
Comment
Question by:eladr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
xabi earned 200 total points
ID: 2571904
Hi there:

change " into &quot;

this way:

.... value="wa&quot;tson">

xabi
0
 
LVL 8

Expert Comment

by:xabi
ID: 2571906
Or you can do it this way:

<html>
<form>
<input type="text" name="name" value='d"r watson'>
</form>
</html>

Xabi
0
 
LVL 1

Author Comment

by:eladr
ID: 2571918
thanx again...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question