[jQuery] Re: 1.3.2 td class selector only picks the first td

2009-05-28 Thread tester
Try to switch off your validation plugin... jquery.validate.js

[jQuery] Re: Make list of unique json data?

2008-12-19 Thread alpha tester
Thanks very much for this Brian - got my head round it now! brian-263 wrote: > > > On Thu, Dec 18, 2008 at 4:49 AM, alpha tester > wrote: >> >> >> Hmmm... struggling to read from this new dataset using the code provided >> - >> can someone poi

[jQuery] Re: Make list of unique json data?

2008-12-18 Thread alpha tester
Hmmm... struggling to read from this new dataset using the code provided - can someone point out the stupidity in the following code: var myData = { records : [ { CATEGORY : "Sport", TITLE : "The world of sport", LINK: "http://test.com"; }, {

[jQuery] Re: Make list of unique json data?

2008-12-18 Thread alpha tester
Amazing! Love the way you can take what was about 90 lines of javascript and turn it into about 5 of jquery and the jquery ends up being far more flexible! Thanks very much for your help! (do you know of any tutorials that cover this sort of dataset management stuff (push/group etc)) brian-26

[jQuery] Make list of unique json data?

2008-12-17 Thread alpha tester
Hi I'm just learning JQuery and while I've got my head around the general concepts, the real power of the logic it provides is still escaping me. I've got a page with a JSON dataset like this: var myData = { records : [ { CATEGORY : "Sport", TITLE : "The world of sport", LINK: "http://test.co

[jQuery] Re: Referencing elements with 2 or more classes and no Id

2008-09-23 Thread Tester
Karl, you're right. It was a different issue. jQuery finds elements without any problems assuming they exist when the "search" function is called. Really appreciate your advice. On Sep 23, 5:04 am, Tester <[EMAIL PROTECTED]> wrote: > @Ca-Phun Ung: The line break doesn&

[jQuery] Re: Referencing elements with 2 or more classes and no Id

2008-09-23 Thread Tester
ou posted has a > line-break after "b-visibleUrl-", i.e. > class="b-visibleUrl b-visibleUrl- > short" > > Is this line-break in your original HTML code? If so that might be the > problem. > > > > On Tue, Sep 23, 2008 at 11:35 AM, Tester <[EMAIL

[jQuery] Re: Referencing elements with 2 or more classes and no Id

2008-09-22 Thread Tester
; wrote: > Remember that jQuery uses CSS syntax for selectors. So, just like in > CSS to select a element with a particular class you add a "." to the > front of the class name. > > In this case: > >   $('div.b-visibleUrl-short') > > Karl Rudd > > On

[jQuery] Referencing elements with 2 or more classes and no Id

2008-09-22 Thread Tester
My code looks like this: Title www.learningjquery.com www.learningjquery.com/ 2007/02/ I can't modify HTML and need to access elements "b-visibleUrl-short." Tried: - $('[EMAIL PROTECTED]') and - $("div[class$=

[jQuery] how to get the height of a div?

2007-08-23 Thread tester
Hi, how I can get the height of a div? There is a div element in the xhtml DOM filled with dynamic content from a database. The height depends on the database content. I tried something like this: $('#divElem').height($ ('#divElem').getMaxHeight()); but it didn't work.