It's half right anyway.
<input type="submit" onclick="whatever()" />
Whatever is supposed to happen when the onclick event triggers won't matter since the form is submitted to the server, which serves a new page. The new page replaces the old in the browser. Your browser doesn't care about where it was or where it's going. It deals with one page at the time, oblivious to anything else.
As such, what you want is a button, not a submit.
Other than that, use a browser that is able to provide useful feedback when developping, no matter what your target group uses. To me, that means Firefox, with its excellent error console, and the much needed Firebug extension.
It should tell you about getElementById(target) being null (at least once you get rid of the form submit), since target contains the string 'page' which doesn't exist anywhere.
You should never trust innerHTML to do what you want either. Use the DOM instead.
var d = document;
var o = d.getElementByd(target); // assuming target contains an existing id of some element
while(o.childNodes.length)
o.removeChild(o.lastChild);
o.appendChild(d.createTextNode('some text'));