Created
September 29, 2014 10:50
-
-
Save akifumi-kamata/03ea71607cd9caaed2a8 to your computer and use it in GitHub Desktop.
テキストボックスの中身を取得する
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
<input type="text" id="textFrom" /> | |
<input type="button" value="確認" onclick="textFromCheck()"/> | |
<script> | |
function textFromCheck() | |
{ | |
var data = $("#textFrom").val(); | |
alert(data); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment