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 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: References: 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: Cancel-Lock: sha1:mZLJzJpdKm+jKeQRCQHT1irb3SY= Xref: csiph.com comp.lang.php:12213 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 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 ==================