control-freak-ide/Control-Freak-Documentation/jQuery/docs/entries/pushStack.json
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

1 line
997 B
JSON

{"name":"pushStack","type":"method","title":".pushStack()","deprecated":null,"removed":null,"desc":"Add a collection of DOM elements onto the jQuery stack.","categories":["internals","version/1.0","version/1.3"],"entries":[{"return":"jQuery","signatures":[{"added":"1.0","argument":{"desc":"An array of elements to push onto the stack and make into a new jQuery object.","name":"elements","type":"Array"}},{"added":"1.3","argument":[{"desc":"An array of elements to push onto the stack and make into a new jQuery object.","name":"elements","type":"Array"},{"desc":"The name of a jQuery method that generated the array of elements.","name":"name","type":"String"},{"desc":"The arguments that were passed in to the jQuery method (for serialization).","name":"arguments","type":"Array"}]}],"examples":{"desc":"Add some elements onto the jQuery stack, then pop back off again.","code":"\njQuery([])\n .pushStack( document.getElementsByTagName( \"div\" ) )\n .remove()\n .end();\n"},"longdesc":""}]}