View Full Version : CSS & Js experts, a question for You

03-12-2009, 12:55 PM
how can i keep the search box dark-gray while i'm writing a search term ?

(at the moment not so many words in the DB, try words starting with letter T or L or S)


thank you for your help


03-12-2009, 01:37 PM
ok fixed with this

<input id="search" type="text" onblur="this.parentNode.parentNode.className = 'ricerca';this.value=!this.value?'Cerca prodotto':this.value;" onfocus="this.select();this.parentNode.parentNode.className = 'ricercahover';" onclick="this.value='';" onkeyup="ajax_showOptions(this,'getProdottoByLetters',event)" value="cerca prodotto" size="20" name="search"/>

thank you anyway

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum