I\'m a total newbie with JS, and I\'m trying to click on this button:
find
You need to use the method click rather than submit. You can use submit when you want to submit a form.
getElementsByClassName also returns an array of elements, you need to retrieve the one you want and then call click on it.
document.getElementsByClassName('simplebutton')[0].click();
http://jsfiddle.net/kLDde/