[jQuery] Re: Advice needed on jQuery page to be built

2009-07-29 Thread gnetcon
Brian / Liam: Thanks for the help. I was thinking this is what I needed to do. The guidance is greatly appreciated! Joel brian-263 wrote: > > > Let's say that you want to add the click handler to all anchors in the 1st > pane: > > $('#pane1 a').click(function() > { > $.ajax({ >

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-29 Thread Liam Potter
just seen Brian's solution, which is similar but cleaner, don't know why I didn't think of just leaving the data in the href. Liam Potter wrote: Hi gnet, I've not really done much with arrays, so this is more theory but you should be able to build upon it. You will need a separate file, t

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-29 Thread Liam Potter
Hi gnet, I've not really done much with arrays, so this is more theory but you should be able to build upon it. You will need a separate file, that you will be sending the ajax requests to, and the html it returns should be printed in the divs using the success callback on the ajax method.

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-28 Thread brian
Let's say that you want to add the click handler to all anchors in the 1st pane: $('#pane1 a').click(function() { $.ajax({ /* assuming that the anchor's href contains all * the data necessary for your PHP script */ url: hre

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-28 Thread gnetcon
Liam: Thanks for the feedback! I have my page built, with the array created and it populates my second pane fine with data from the first array item (1 of 100). What I'm having difficulty wrapping my brain around is how to update the second div, passing an array key to re-populate the div w/ou

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-27 Thread brian
And paginate the 1st div, using AJAX to refresh it with each "page" for your list. On Mon, Jul 27, 2009 at 11:58 AM, Liam Potter wrote: > > divs, updated using ajax. > > gnetcon wrote: >> >> Hello, all! >> >> Brand new to jQuery, although I have used some apps that use jQuery in it. >> >> I have

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-27 Thread Liam Potter
divs, updated using ajax. gnetcon wrote: Hello, all! Brand new to jQuery, although I have used some apps that use jQuery in it. I have a page I have to build using PHP and (preferably) jQuery. I have an immense array with anywhere from 100 to 10,000+ items in it. I'll have a page with 3 pan