Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #12213

Re: activating a JS script from PHP redirect

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: activating a JS script from PHP redirect
Date Tue, 10 Dec 2013 05:20:08 -0500
Organization A noiseless patient Spider
Lines 36
Message-ID <l86psv$dev$1@dont-email.me> (permalink)
References <l8627s$701$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 10 Dec 2013 10:20:15 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="260680490315bcb6f8be4451b280cf78"; logging-data="13791"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uSdxPo0tbf/ZRLj9goJAX94dKCLtmVvs="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
In-Reply-To <l8627s$701$1@dont-email.me>
Cancel-Lock sha1:mZLJzJpdKm+jKeQRCQHT1irb3SY=
Xref csiph.com comp.lang.php:12213

Show key headers only | View raw


On 12/9/2013 10:36 PM, Scott Johnson wrote:
> OK I will try to make this make sense.
>
> I have an html page with JS that displays a DIV block after a link on
> that page is clicked.
>
> The JS is looking for
>
> Attributes from an <anchor> link:
>
> rel='aaa'
> href='bbb'
> class='ccc'
>
> to open the DIV.
>
> Is there a way to call this html page from a different PHP page script
> that will cause the html to behave as if its anchor was clicked?
>
> Thanks
> Scotty

Scotty,

What do you mean by "call this html page from a different PHP page"?  Do 
you mean including the script in another page, loading the page with 
header('Location: xxx') or something else?


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-09 19:36 -0800
  Re: activating a JS script from PHP redirect Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-10 05:20 -0500
    Re: activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-10 17:15 -0800
      Re: activating a JS script from PHP redirect Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-11 02:12 +0000
        Re: activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-11 04:52 -0800
          Re: activating a JS script from PHP redirect Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-11 13:35 -0500
            Re: activating a JS script from PHP redirect Scott Johnson <noonehome@chalupasworld.com> - 2013-12-11 15:50 -0800
  Re: activating a JS script from PHP redirect Fyndhorn Elder <bubble@caradhras.lan> - 2013-12-15 17:49 +0000

csiph-web