[jQuery] Re: How to do a document.getElementById(mytextbo).select() in jquery?

2008-05-13 Thread eric . advincula
Thanks you, I will give this a try On May 12, 7:42 pm, Karl Rudd [EMAIL PROTECTED] wrote: $(#mytextbo)[0].select(); jQuery(selectorString), or the shortcut $(selectorString), always return an array like object. To run the select() on it you have to access one of the raw elements it

[jQuery] Re: How to do a document.getElementById(mytextbo).select() in jquery?

2008-05-12 Thread Karl Rudd
$(#mytextbo)[0].select(); jQuery(selectorString), or the shortcut $(selectorString), always return an array like object. To run the select() on it you have to access one of the raw elements it contains, hence the [0], which retrieves the first element in the array. Karl Rudd On Tue, May 13,