Skip to content

Instantly share code, notes, and snippets.

@masui
Created November 3, 2011 02:54
Show Gist options
  • Save masui/1335651 to your computer and use it in GitHub Desktop.
Save masui/1335651 to your computer and use it in GitHub Desktop.
jQueryで<input>タグのvalue値を取得する方法
// jQueryで<input>タグのvalue値を取得する方法
// value()ではないことに注意
val = $('#input').val();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment