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({
>               /* assuming that the anchor's href contains all
>                * the data necessary for your PHP script
>                */
>               url: href,
>               cache: false,
>               success: function(html)
>               {
>                       $('#pane2').html(html);
>               }
>       });
>       return false;
> });
> 
> If you have specific anchors in pane1 you'll need to reflect that in
> the 1st selector above.
> 
> You mentioned updating both panes 2 & 3 and XML, so, obviously, you'll
> need to change the success function somewhat. But that's the gist of
> it, anyway.
> 

-- 
View this message in context: 
http://www.nabble.com/Advice-needed-on-jQuery-page-to-be-built-tp24671527s27240p24718096.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to