MCPcopy Index your code
hub / github.com/jquery/jquery / manipulationTarget

Function manipulationTarget

src/manipulation.js:27–35  ·  view source on GitHub ↗
( elem, content )

Source from the content-addressed store, hash-verified

25
26// Prefer a tbody over its parent table for containing new rows
27function manipulationTarget( elem, content ) {
28 if ( nodeName( elem, "table" ) &&
29 nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
30
31 return jQuery( elem ).children( "tbody" )[ 0 ] || elem;
32 }
33
34 return elem;
35}
36
37function cloneCopyEvent( src, dest ) {
38 var type, i, l,

Callers 1

manipulation.jsFile · 0.70

Calls 2

nodeNameFunction · 0.90
jQueryFunction · 0.90

Tested by

no test coverage detected