1
這個jQuery選擇器是什麼意思?這個複雜的jQuery選擇器是什麼意思?
這基本上意味着:
'button[data-remote]:not(form button)'
正在尋找所有
button[data-remote]:not(form button), button[data-confirm]:not(form button)
這個jQuery選擇器是什麼意思?這個複雜的jQuery選擇器是什麼意思?
這基本上意味着:
'button[data-remote]:not(form button)'
正在尋找所有
button[data-remote]:not(form button), button[data-confirm]:not(form button)
按鈕元件正被使用jQuery文檔中列出這兩個選擇器選擇的帶有'data-remote'數據屬性的按鈕,它們不是表單內的按鈕。
對於您列出的其他選擇器也是一樣的邏輯。
你打我吧。但是,基本上它正在尋找具有數據遠程或數據確認的數據屬性的按鈕,這些屬性不在表單中。