[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

onclick() function

Posted on 2003-10-23
2
Medium Priority
?
161 Views
Last Modified: 2010-04-09
what must i type on "onclick" in fact to do, the text-input clear, for example:

name: [name________] #default value

name: [_____________] #value when click (null)
0
Comment
Question by:paStiSSet
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 150 total points
ID: 9608472
<input type=text onfocus="this.value = '';" ...>
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 9608474
onclick event would work too
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

829 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