|
Java Script Source |
List All
|
Date & Time |
Calendar
|
Stop Watch script |
Slide Show
|
Ad Display
|
Animated Image Effects
|
Image Effect |
Mouse Effects
|
Color Picker Tool
|
Dynamic Color |
Random Generator |
Select All |
Form Validation |
Formatting Forms |
Textbox Counter |
Dynamic Form select |
Bookmark
|
Window / User Info |
Pagination |
Security / Authenticate |
Status Bar |
Title Bar |
Cursor Position |
Country List
|
Calculators |
Delete Repeated Values |
Alphanumeric
|
Free Games |
|
|
|
| |
|
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 |
- This javascript (misspelled as java script)/HTML code is given under GPL License
- i.e. Free use for those who use it as it is.
- Free, if your modification does not remove our copyright information and links.
- Detailed License information can be found here
- You can purchase the script if your requirements does not meet GPL License terms.
|
|
|
|
|
|