I need Ajax script that will check every 5 seconds, the contents of file.php
file.php may contain only true or false.
If true – script must perform an action.
if false – script should continue to check the file for true
how to make it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
will this help?
Call js-function using JQuery timer
then use jquery ajax methods.
http://api.jquery.com/jQuery.ajax/
I would help you more but you need to first help your self.