Thursday, July 15, 2010

change UL element text by class name

Change UL element text by class name.

var elements = document.getElementsByClassName("form-errors")[0];
//alert(elements.innerHTML);
elements.innerHTML=elements.innerHTML+"<br/><br/>";



No comments:

Post a Comment