window.location : location « Window « JavaScript Tutorial






<HTML>

<HEAD>

</HEAD>

<BODY>

<FORM>
<INPUT TYPE="button" value="Page Resource" onClick="window.location='http://www.java2s.com'">
<P>
</FORM>

</BODY>

</HTML>








19.4.location
19.4.1.window.location