jquery $(this)的疑问

比如
<tr><td><input type='button' oncilck='ckick_func()'/></td><tr>

那我在ckick_func()中获取的 $(this)是什么,是这个按钮么
如果是 那我 $(this).parent().parent().remove()又删除不了这一行 
$(this)获取的是什么 我是新手

白衣染霜花
浏览 672回答 1
1回答

Unity神毓逍遥

$(this)就是你当前操作的对象。 $(this).parent().parent().remove()你要删什么?父窗体的什么?
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JQuery