Onclick Remove Values
-
Hi, is there anyway we can remove the text when click on the input and insert the text when unclick on the input?
I tried using this method, bu it dont seems to work.
<input type=”text” class=”txt_livesearch ac_input_3″ id=”pp_course_3″ value=”I’m looking for…” name=”rs” onclick=”if(this.value==’I’m looking for…’){this.value=”}” onblur=”if(this.value==”){this.value=’I’m looking for…’}” autocomplete=”off”>http://wordpress.org/extend/plugins/woocommerce-predictive-search/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Onclick Remove Values’ is closed to new replies.