比如<tr><td><input type='button' oncilck='ckick_func()'/></td><tr>那我在ckick_func()中獲取的 $(this)是什么,是這個按鈕么如果是 那我 $(this).parent().parent().remove()又刪除不了這一行 $(this)獲取的是什么 我是新手
1 回答

Unity神毓逍遙
TA貢獻5條經(jīng)驗 獲得超1個贊
$(this)就是你當(dāng)前操作的對象。
?$(this).parent().parent().remove()你要刪什么?父窗體的什么?
- 1 回答
- 0 關(guān)注
- 707 瀏覽
添加回答
舉報
0/150
提交
取消