Last active
March 10, 2019 18:08
-
-
Save thejungwon/0c99499cf6c5aecd8d7dde283bbdfe63 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
//1. id 로 접근해서 가져오기 | |
var value = $('#test_id').val(); | |
//2. class 로 접근해서 가져오기 | |
var value = $('.test_class').val(); | |
//3. name으로 접근해서 가져오기 | |
var value = $('input[name=test_name]').val(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment