.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