Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12254
| From | Fyndhorn Elder <bubble@caradhras.lan> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: activating a JS script from PHP redirect |
| References | <l8627s$701$1@dont-email.me> |
| Date | 2013-12-15 17:49 +0000 |
| Message-ID | <m2ob4iuhqq.fsf@caradhras.lan> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
Scott Johnson <noonehome@chalupasworld.com> writes:
> 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
So you change things with
<script>
function changeText(){
document.getElementById('div id').innerHTML = 'foo;
}
</script>
>
> 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?
>
Yes, reload your page with a form action which is the same as your current php page,
then do isset on a $_POST["nameofvalue"] and contemplate.
FE
> Thanks
> Scotty
--
Time heals.
My blog : https://thediaryofelvishhealer.blogger.com
Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll 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