.on( events [, selector ] [, data ], handler )
events
Type: String
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
selector
Type: Anything
handler
Type: Function( Event eventObject [, Anything extraParameter ] [, ... ] )
events
Type: String
One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".
selector
Type: Anything
handler
Type: Function( Event eventObject [, Anything extraParameter ] [, ... ] )
2016-11-01
append与appendTo区别
添加的对位置.append(要添加到的对象)
要添加的对象.appendTo(要添加的位置)
添加的对位置.append(要添加到的对象)
要添加的对象.appendTo(要添加的位置)
2016-11-01
// $('p:contains("3")').remove();
//$('p').filter(':contains("3")').remove();
$('p').remove(':contains("3")');
//$('p').filter(':contains("3")').remove();
$('p').remove(':contains("3")');
2016-10-31
感觉这样学js基础不好的同学肯定会很吃力,建议看结合北风网李炎恢老师的jquery教程一起学习,时间会大大缩短
2016-10-31
简单点,插入的方式简单点。。。。。一样的功能,换着语法来为哪般,主要是容易混淆
2016-10-31