/ Published in: JavaScript
Expand |
Embed | Plain Text
//<input id="form_email" name="form_email" value="enter email here" type="text" onfocus="clearText(this)" onblur="shownewsletter(this)" /> function clearText(thefield){ if (thefield.defaultValue==thefield.value) thefield.value = "" } function shownewsletter(thefield){ if (thefield.value=="") thefield.value = "Search site here" }
You need to login to post a comment.
