1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!DOCTYPE html> <html> <head> <title>Bug 336147</title> </head> <body> <form action="http://foo.com/" method="post"> <input value="abc" type="button" id="fooButton"> </form> <script> document.getElementById('fooButton').innerHTML = 'xyz'; </script> </body> </html>