2

I honestly don't know what this is called or even begin how I search of it.. but is there a way I can use jQuery to get a page and fetch it's contents? Like if go to test.php?act=test and the contents of the page JUST has the words "no"... then have the text update say "no" and if it's "yes" then say "yes".

I hope I worded that correctly... (. _.)

3 Answers 3

1

Initially would suggest getting an idea by reading this AJAX Tutorial, then continue by reading jQuery's AJAX documentation. Further readings would be .get() and .post()

Sign up to request clarification or add additional context in comments.

Comments

0

Yes.

Ajax calls. You are able to give a url in the same domain as the webpage and get its contents dynamically.

Comments

0

You can use the .load() method in jQuery which will be issuing an AJAX request.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.