I have a page with a a lot of texts and a script called “test.php” elsewhere.
I want to look up a word, lets say “oranges” in the div class “paragraph”, and if there is “oranges” word in there, i want it to load test.php
I looked at the examples for find() function but i failed to make it work as i wanted it to.
Thanks.
Load test.php and put it’s contents in the div with class paragraph if that div contains the text “oranges”: