Remove text when textbox is selected, then put it back if it left empty
This is what we used to do before we got the placeholder tag for Input in HTML
< input class='search-text' id='search-text-' name='q' onblur='if (this.value == "") {this.value = "Search here";}' onfocus='if (this.value == "Search here") {this.value = ""}' tabindex='7' type='text' value='Search here'/ >
' Inherited from Alwah site
< input class='search-text' id='search-text-' name='q' onblur='if (this.value == "") {this.value = "البحث في شبكة ألواح";}' onfocus='if (this.value == "البحث في شبكة ألواح") {this.value = ""}' tabindex='7' type='text' value='البحث في شبكة ألواح'/ >
' Inherited from Alwah site
< input class='search-text' id='search-text-' name='q' onblur='if (this.value == "") {this.value = "البحث في شبكة ألواح";}' onfocus='if (this.value == "البحث في شبكة ألواح") {this.value = ""}' tabindex='7' type='text' value='البحث في شبكة ألواح'/ >
Views 838
Downloads 310
CodeID
DB ID
ANmarAmdeen
615
Revisions
v2.0
Saturday
October
10
2020