Ejemplos en Javascript

<HTML>
<HEAD>

<TITLE>Ejemplos Javascript: ejemplo pr???¡ctico </TITLE>

<SCRIPT LANGUAGE="JavaScript">

<!--

// Copyright (c) 1996-1997 Tomer Shiran. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.geocities.com/~yehuda/

function loadPage(list) {
        location.href = list.options[list.selectedIndex].value
}

// -->

</SCRIPT>


</HEAD>

<BODY bgcolor="white">


<FORM>
<SELECT>
<OPTION VALUE="http://www.link1.com">link1
<OPTION VALUE="http://www.link2.com">link2
<OPTION VALUE="http://www.link3.com">link3
</SELECT>
<INPUT TYPE="button" VALUE="load page" onClick="loadPage(this.form.elements[0])">
</FORM>



</body>
</html>

Script varios