WebmasterSite.net
PHP scripts to enable your creativity
Home
Web Scripts
WSN Links
WSN Gallery
WSN Knowledge Base
WSN Forum
WSN Classifieds
WSN Directory
WSN AdUnblocker
WSN FormEmail
WSN InstaChat
WSN Redirector
WSN Webcomic
WSN Guest
Reviews
WSN For WordPress
WSN For Web Designers
Webmaster Resource Links
Register
Log In
Username
Password
Login
Forgot your password?
WSN Support Forums
Paid Scripts Support
javascript to delete field
javascript to delete field
tip to share: onfocus=
Details
Discussion
1
Print
Comments on javascript to delete field
•
peumus
Forum Regular
Usergroup:
Customer
Joined:
Aug 09, 2004
Location:
Chile
Total Topics:
172
Total Comments:
462
•
peumus
#1 -
Quote
-
Permalink
Posted Nov 12, 2005 - 3:24 AM:
I find the following tip usefull and I would like to share it:
In order to have automatically deleted the
words: "Username" and "Password" at the login form
when clicking on this fields or reaching this fields with tab:
<input type="text" name="username" size="10"
onfocus="this.value=''"
value=" {LANG_REGISTRATION_USERNAME}">
<input type="password" name="userpassword" size="10"
onfocus="this.value=''"
value="password" style="padding-left: 2px;">
<input type="submit" value="{LANG_LOGIN_LOGIN}" class="button">
Search thread for
Go ►
Download thread as
text
HTML
Go ►
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on javascript to delete field
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
I find the following tip usefull and I would like to share it:
In order to have automatically deleted the
words: "Username" and "Password" at the login form
when clicking on this fields or reaching this fields with tab:
<input type="text" name="username" size="10" onfocus="this.value=''" value=" {LANG_REGISTRATION_USERNAME}">
<input type="password" name="userpassword" size="10" onfocus="this.value=''" value="password" style="padding-left: 2px;">
<input type="submit" value="{LANG_LOGIN_LOGIN}" class="button">