0

On my Homepage

when ever a specific text is displayed, it should redirect to another page?

can it be done via functions? how? if not via javascript? how?

https://wpt1.ide4.bid/ Please go to this page, when you fill the form up, it's easy.

Below you will see the text "Thank You For scheduling 22" after the form is filled up.

enter image description here

when the text "Thank You For scheduling 22" comes it should be redirected to https://wpt1.ide4.bid/thank-you/

Please help me

  • it should be done via javascript because after you have your text on the homepage it is too late to do a php redirect due to headers already being sent. – Ovidiu Jun 12 '18 at 6:09
  • @Ovidash Please show me a path how to do it – Nimesh Jun 12 '18 at 7:04
  • First I need an example of what would trigger the behaviour. Paste some text as it would appear on page, and let me know which word / phrase would trigger the redirection. – Ovidiu Jun 12 '18 at 7:43
  • @Ovidash Please check my updated question with image – Nimesh Jun 12 '18 at 7:52
  • is that thank you message in a div? What class or id has that div? And how does it appear on page? Via ajax or is it always on the page when you visit the page? – Ovidiu Jun 12 '18 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.