What is the status of jQuery's multi-argument content syntax: deprecated, supported, documented?
- by Evan Carroll
I've never seen this in any jQuery docs I've read; nor, have I ever seen it in the wild. I just observed multi-content syntax working here with jQuery 1.4.2. Is this supported syntax? Is it deprecated?
$(".section.warranty .warranty_checks :last").after(
$('<div class="little check" />').click( function () {
alert('hi')
} )
, $('<span>OEM</span>') /*Notice this (a second) argument */
);
I've never seen any indication in the jQuery grammar that any of the functions accept more than one argument (content) in such a fashion.