Re: [jQuery] Finding an element based on a partial string

2007-03-05 Thread Rey Bango
Great try Kenneth! Its pretty near what I did! Rey... Kenneth wrote: > I'll give it a newbie try! > > $('[EMAIL PROTECTED]').(...); > > or maybe: > > $('[EMAIL PROTECTED]', '#cart').(...); > > Just guessing here though. > > On 3/5/07, *Rey Bango* <[EMAIL PROTECTED]

Re: [jQuery] Finding an element based on a partial string

2007-03-05 Thread Rey Bango
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 PROTE

Re: [jQuery] Finding an element based on a partial string

2007-03-05 Thread Kenneth
I'll give it a newbie try! $('[EMAIL PROTECTED]').(...); or maybe: $('[EMAIL PROTECTED]', '#cart').(...); Just guessing here though. On 3/5/07, Rey Bango <[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 want

Re: [jQuery] Finding an element based on a partial string

2007-03-05 Thread Matt Stith
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" attribu

[jQuery] Finding an element based on a partial string

2007-03-05 Thread Rey Bango
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 di