Javascript scroll
<p>How to scroll to top of the page in php with javascript </p>

<p>scroll(0,0); -> this is not working?
On click of submit, i call a function to validate the form and incase of error i will be setting the errormessage thru innerhtml and need to scroll to top of the page without submitting.</p>

<p>Everything works...but its not scrolling to top of the page</p>
