Hehe. Yeah I already beat ya to it. Thats exactly where I found it and 
had pretty much the same code as what you put. :o)

Thanks for the help Matt.

Rey...

Matt Stith wrote:
> Check out the 'selectors' page in the docs.
> 
> http://docs.jquery.com/DOM/Traversing/Selectors
> 
>     * [EMAIL PROTECTED] an E element with a "foo" attribute
>     * [EMAIL PROTECTED] an E element whose "foo" attribute value is exactly
>       equal to "bar"
>     * [EMAIL PROTECTED] an E element whose "foo" attribute value begins
>       exactly with the string "bar"
>     * [EMAIL PROTECTED] an E element whose "foo" attribute value ends
>       exactly with the string "bar"
>     * [EMAIL PROTECTED] an E element whose "foo" attribute value contains
>       the substring "bar" 
> 
> 
> So in your case, if your searching by name, try [EMAIL PROTECTED]'qty_']
> On 3/5/07, *Rey Bango* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Hi guys,
> 
>     Say I have 3 form elements (type input/text) with a DIV called "cart":
> 
>     qty_1
>     qty_2
>     qty_3
> 
>     If I wanted to find all form elements within the div "cart" that started
>     with the string "qty_", how would I do that?
> 
>     Rey...
> 
>     _______________________________________________
>     jQuery mailing list
>     discuss@jquery.com <mailto:discuss@jquery.com>
>     http://jquery.com/discuss/
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/

-- 
BrightLight Development, LLC.
954-775-1111 (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com

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

Reply via email to