Change Class
document.getElementById("ctl00_ContentPanel_txtPortFromCity").className = "error";
Append Class
document.getElementById("ctl00_ContentPanel_txtPortFromCity").className += " " + "error";
little notes
code + design = art
Subscribe Nowdocument.getElementById("ctl00_ContentPanel_txtPortFromCity").className = "error";
document.getElementById("ctl00_ContentPanel_txtPortFromCity").className += " " + "error";
0 komentar:
Posting Komentar