|
Free Java Script Codes |
List All
|
Slide Show |
Ad Display
|
Image Effect |
Animated Image Effects
|
Form Validation |
Color Picker Tool
|
Formatting Forms |
Select All |
Dynamic Form select |
Dynamic Color |
Calendar
|
Textbox Counter |
Alphanumeric
|
Date & Time |
Stop Watch script |
Delete Repeated Values |
Pagination |
Random Generator |
Animated Text |
Cursor Position |
Window / User Info |
Security / Authenticate |
Bookmark
|
Mouse Effects
|
Title Bar |
Status Bar |
Country List
|
Free Games |
Calculators |
|
|
|
|
|
Hidden text / Search box Image Script
|
|
About |
|
This hidden-text script is used to add temporary help text to html form fields. Help text will disappear automatically while you place the cursor in html form field. This script is also called as search box image script.
|
|
Feature |
a) User can display their desired help text value in html form fields.
b) Html form field value may be hidden text or hidden image.
|
|
Usage |
a) Copy the code and paste it into your web-page.
b) If you want to display Html form field value as text, set text box style(classname) as displaytext.
For example,
<input type="text" id="text1" value="example" size="10" class="displaytext"
onfocus="hiddenText(this.id,' ','normaltext')"
onblur="displayText(this.id,'example','displaytext')">
c) If you want to display Html form field value as image, set text box style(classname) as displayimg.
For example,
<input type="text" id="text1" value=" " size="10" class="displayimg"
onfocus="hiddenText(this.id,' ','normaltext')" onblur="displayText(this.id,' ','displayimg')">
d) If you require to use this hiddentext/search box image javascript for more textbox, Set id,value and classname for each html form field textbox.
e) The hiddenText() function is used to hide default value and show the typed value. Here the arguments are searchbox(text box) id, value and classname.
f) The displayText() function is used to hide typed value and show the default value. Here the arguments are searchbox(text box) id, value and classname.
|
|
License |
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.
|
|
|
|