I have next to no PHP knowledge (and not much js knowledge for that matter!) - I write html and css and normally out source php work, but this should be easy and there is still a recession on!
I have a small site for a client that is actually one html page with the various content as slides on a carousel via jQuery.
There s a contact form that is validated via jQuery and then a php file is run to process the form and send an email to the client. This all works. Normally I would re-direct to a dedicated thank you page with…
[php]$URL=“http://www.examplesite.com/”;
header (“Location: $URL”); [/php]
This works with the site in question at the moment, but simply resets the ‘slides’ to the first slide. I would like to trigger an link that would activate the “thank you” slide in the carousel. Something along the lines of…
<script type="text/javascript">$(#thankyou_qlink).click();</script>
Is there a way of the php re-directing back to the site and then triggering the correct slide? I’ve tried the following as a wild and uneducated stab in the dark!!..
[php]$URL=“http://www.shaunbrownbuilder.com/”;
header (“Location: $URL”);
echo ‘’;[/php]
Any help / advice would be much appreciated. Thank you.