Thanks Yehuda, Regards,
Dave Buchholz I-CRE8 http://www.i-cre8.co.uk Skype ID: I-CRE8 -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yehuda Katz Sent: 02 November 2007 01:19 To: jquery-en@googlegroups.com Subject: [jQuery] Re: How to pull details info into master page (php/mysql) Sent from my iPhone On Nov 1, 2007, at 5:29 PM, "Dave Buchholz - I-CRE8" <[EMAIL PROTECTED] > wrote: > > I now have this working using the following code: > > $(document).ready(function() { > $('#view a').click(function() { > $('#show-details').hide(); > $.get($(this).attr("href"), {}, function(data) { > $('#show-details').html(data).fadeIn("slow"); > }); > return false; > }); > }); $("#show-details").load(this.href, function() { $(this).fadeIn ("slow") }); > > > Are there any glaring errors in my implementation that in my lack of > experience I would not see ? > > Regards, > > > Dave Buchholz > I-CRE8 > http://www.i-cre8.co.uk > Skype ID: I-CRE8 > > > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] > On > Behalf Of Dave Buchholz - I-CRE8 > Sent: 31 October 2007 23:58 > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: How to pull details info into master page (php/ > mysql) > > > > Adrian, > > Yes manID will be different for each link, I have put up a page > http://www.i-cre8.co.uk/webassist/dataassist-master-detail-page-using-jquery > /manufacturer_Results.php showing what happens which is basically a > blank > page after I click the view link containing the manID link. > > I must be doing something wrong somewhere > > Regards, > > > Dave Buchholz > I-CRE8 > http://www.i-cre8.co.uk > Skype ID: I-CRE8 > > > > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] > On > Behalf Of Adrian Lynch > Sent: 31 October 2007 21:51 > To: jQuery (English) > Subject: [jQuery] Re: How to pull details info into master page (php/ > mysql) > > > manID will be different for each link? Then don't put any PHP code > in the > jQuery code, instead just access the links href: > > $(document).ready(function () { > $(".view-man").click(function () { > $("#show-detail").load($(this).attr("href")); > return false; > }); > }); > > Adrian >