作者liaosankai (低溫烘焙)
看板Ajax
標題[問題] 關於jquery的屬性選取規則
時間Mon Nov 24 11:10:11 2008
我通常都會用
$('input[name="myname"]').val();
看見有人用
$('input[@name="myname"]').val();
想請問多 @ 用意是?
--
歡迎來我的網誌看看
@
http://doublekai.org/blog
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.228.154.19
1F:推 tn801534:"@" before the attribute name was deprecated as of 11/24 12:45
2F:→ tn801534:version 1.2. 11/24 12:45