On 27/10/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> First up, you can wrap your newly created nodes in $ and use jQuery methods.
>
> Instead of:
>
> var listLabel = document.createElement( 'label' );
> listLabel.style.display = '-moz-inline-box';
> listLabel.style.textAlign = 'left';
>
> Do:
>
> var listLabel = document.createElement( 'label' );
> $(listLabel).css({display: "-moz-inline-box", textAlign: "left"})
How about this instead:
$("<label>").css({display: "-moz-inline-box", textAlign: "left"})
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/