Do you have an example page? As ferdjuan mentioned, the usual issue is
with the timing - i.e. your hidden input #counter & its value aren't
available until to the parent page until after your ajax .load()
finishes up.
In terms of troubleshooting, you don't need to echo your php variable
because
the loaded page is top.php , where $Count; is set.
regards
On 18 Mag, 12:22, dearste <[EMAIL PROTECTED]> wrote:
> ok,
> in top.html, below , and
> yes, php var is set in top.html.
> How to pass it in main page with a jquery .load??
>
> On 18 Mag, 08:21, ferdjuan <[EMAIL PROTECTED]> wrote:
>
> > I
ok,
in top.html, below , and
yes, php var is set in top.html.
How to pass it in main page with a jquery .load??
On 18 Mag, 08:21, ferdjuan <[EMAIL PROTECTED]> wrote:
> Is your script which processes the $Count variable (I assume it's a
> page hit checker?) being included before the line: $
> ("#
Is your script which processes the $Count variable (I assume it's a
page hit checker?) being included before the line: $
("#top").load("top.htmll");? If the assignment for $Count is made at
the wrong time, and then you .load an html file I don't think $Count
will have any value. Immediately below
4 matches
Mail list logo