03-08-2011, 06:08 PM
|
#6 (permalink)
|
|
The Addict
Join Date: Aug 2008
Posts: 336
Thanks: 8
|
I would suggest separate the javascript and the html:
javascript Code:
<script> document.getElementsByName("addimage").onSubmit = function (e) { document.getElementsByClassName("pleasewait") .setAttribute("style","display: block;"); }; </script>
that is a very crude javascript example (not even tested). It does not takes into consideration other factors. I would suggest to use a framework like jQuery.
|
|
|
|