看板 Ajax 關於我們 聯絡資訊
我通常都會用 $('input[name="myname"]').val(); 看見有人用 $('input[@name="myname"]').val(); 想請問多 @ 用意是? -- 歡迎來我的網誌看看 @ http://doublekai.org/blog -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.228.154.19
tn801534:"@" before the attribute name was deprecated as of 11/24 12:45
tn801534:version 1.2. 11/24 12:45
tn801534:http://docs.jquery.com/Selectors 11/24 12:46