Hi.
I'm creating new DOM elements with $() and it returns jQuery. Is [0] the best way to get the element itself?
Cheers,Code:var $iframe = $('<iframe></iframe').attr({ id: this.id + '-iframe', frameBorder: '0' }).css({ height: $this.height(), width: $this.width() }); var iframe = $iframe[0];




Reply With Quote



Bookmarks