yes. Thanks. I have it now.

Any takers on my "what is the jQuery object" question? Is it simply an
array of elements that have been selected?

It may be kind of obvious, but it took me a few days to figure it. It
might be good to explicitly say this somewhere early in the docs IMHO.

thanks again.

On 1/15/07, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > $(function () {
> >        self.focus();
> >        $("#userresponse").setAttribute("autocomplete","off");
> >        $("#userresponse").focus();
> > });
>
> I would do this:
>
> $(function () {
>        self.focus();
>        $("#userresponse").attr("autocomplete","off")[0].focus();
> });
>
> There isn't a setAttribute method on a jQuery object, and I assume you want
> the DOM focus() method on #userresponse.
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to