[jQuery] Using :first and :last on the first children of an element

2009-08-09 Thread Alec
I have some simple tables with multiple rows. The cells within these rows have tables of their own. I'm trying to target the rows of the first (parent) tables, like so (excuse the spacing): HTML: <-- match with :first <-- match with :last

[jQuery] [autocomplete] matchContains in multiple words

2009-05-31 Thread Alec
http://docs.jquery.com/Plugins/Autocomplete Say I have the following entry in a data array: "Quick brown fox" Is it possible to return this entry when I search for e.g. "qui fox"? At this moment I can only get this result when searching for "qui" or "fox", but not "qui fox". I guess what I'm lo

[jQuery] Re: Finding specific values within an element

2009-02-07 Thread Alec
On Feb 8, 12:06 am, Alec wrote: > Is this the right way to do this? Or is there an easier/better way? I > was hoping for something like this: > > HTML > something here > something else > > SCRIPT that does: > search for an element that starts with #entry; and then e

[jQuery] Finding specific values within an element

2009-02-07 Thread Alec
Hi there. I just started to play around with jQuery. I'm hoping you could take a look at this and see if I'm at the right track, or that my approach is completely wrong. The idea is simple. I have a bunch of entries I want to display. When I click an entry, I'd like jQuery to retrieve the entry's