JavaScript DOM setAttribute

We are here using Core DOM setAttribute method we set the value of input type text to button.


Other examples in Coredom (JavaScript advanced)
Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 5.0