Created
March 13, 2018 04:23
-
-
Save kaoru-fukusato/9b8b8506247ca100f112652b97877156 to your computer and use it in GitHub Desktop.
コピペで学べるプログラミング基本2-5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"><!-- | |
function myGo(){ | |
mySelect = document.myForm.myMenu.selectedIndex; | |
location.href = document.myForm.myMenu.options[mySelect].value; | |
} | |
// --></script> | |
<form name="myForm"> | |
<select name="myMenu"> | |
<option value="http://#/">☆☆ HTML JavaScript講座 目次 ☆☆ | |
<option value="http://#/">Step.1 見出し | |
<option value="http://#/">Step.2 リンク | |
<option value="http://#/">Step.3 スタイル | |
</select> | |
<input type="button" value="GO!" onclick="myGo()"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment