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

On Oct 30, 3:53 pm, I-CRE8 <[EMAIL PROTECTED]> wrote:
> PHP/MYSQL
>
> I have links from my master page in the form of <a class="view-man"
> href="manufacturer_Detail.php?manID=<?php
> echo(rawurlencode($row_WADAmanufacturer['manID'])); ?>" title="View
> Manufacturer Details"> to my details page and I would like to pull the
> info into my master page rather than going to the details page.
>
> I have tried this variations of this code
> $(document).ready(function () {
> $(".view-man").click(function () {
> $("#show-detail").load("manufacturer_Detail.php?manID=<?php
> echo(rawurlencode($row_WADAmanufacturer['manID'])); ?>");
> return false;
>
> });
> });
>
> But I am not getting any results, obviously I am not understanding
> something or missing the point entirely. Could someone please show me
> the correct way to do this .
>
> Thanks,
>
> Dave Buchholz
> I-CRE8http://www.i-cre8.co.uk
> Skype ID: I-CRE8

Reply via email to