I\'m sure I\'m going to feel stupid after seeing the answer, but I keep running into prehistoric code around the web, which I\'m not sure still applies. My question is \"How
there's a much better way to do that. use document.getElementById and give the button an ID.
function myFunc() {
document.getElementById('my_button').innerHTML = "New
Text";
//"other stuff that actually works."
return false;
}
I'm not sure you can put a tag into the value of a button, but who knows. Can't say I've tried it.