Salve volevo sapere se era possibile cambiare lo style di un textfield in maniera dinamica.
GRAZIE
Salve volevo sapere se era possibile cambiare lo style di un textfield in maniera dinamica.
GRAZIE
Non capisco esattamente cosa intendi.
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/
se ho un textfiled in html che ha un certo style oppuure nessuno style.
ad un determinato evento magari in javascript vorrei cambiare il suo style.
Allora le assegni un id e poi, tramite getElementById("miotesto") imposti tutte le varie proprietà style.
Esempio
Intendevi questo?codice:document.getElementById("miotesto").style.color = "red";
Leading the Web to Its Full Potential...
www.pierofix.it | www.w3.org | www.zeldman.com/externals | http://browsehappy.com | www.alistapart.com | www.webstandards.org | www.flickr.com/photos/pierofix/