Reputation: 18200
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... (. _.)
Upvotes: 2
Views: 578
Reputation: 18798
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()
Upvotes: 1
Reputation: 187020
You can use the .load()
method in jQuery which will be issuing an AJAX request.
Upvotes: 0
Reputation: 7935
Yes.
Ajax calls. You are able to give a url in the same domain as the webpage and get its contents dynamically.
Upvotes: 0