Gordon wrote:
Just a quick question, is there a way to quickly create a jQuery
object that contains no elements at all so you can add() them as
needed later in the script?
I suggest (although I've never tested or used it):
var empty = $([]);
Note that $() will include the document
I believe it's
var $emptyObj = jQuery([]);
On 6/20/07, Gordon [EMAIL PROTECTED] wrote:
Just a quick question, is there a way to quickly create a jQuery
object that contains no elements at all so you can add() them as
needed later in the script?
--
Aaron Heimlich
Web Developer
[EMAIL
2 matches
Mail list logo