Now I have this:
<script>
function load() {
var el = document.getElementById('load');
el.innerHTML='<img src=\"load.png\">'; }
</script>
And the html:
<input type="submit" onclick="javascript:load();">
<span id="load"> </span>
but that doesn't work, because i may not put <
and >
within the el.innerHTML=''
. Does anyone know an alternative?
TIA