Solved

about text field value in form

Posted on 2000-03-01
3
158 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 50 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Suggested Solutions

Title # Comments Views Activity
ASP sending two datas 2 28
CSS for <center> 14 49
Table style position to the left 8 39
how to properly reinitialize tinyMCE rich text html editor 8 10
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

734 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