I dont know how write this script. I need load results with some URL (eg: localhost/index.php?action=get&type=29) and this result to give a variable for further processing. I need create this on Jquery. Thanks.
Share
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.
There are features in jQuery that can be used, you have either a quick load using the simple
.load()function that will parse the HTML into an element. Usage:With processing events with AJAX with further writing options, you have many options to choose from:
These options below are using the
.ajax()function but makes the writing easier:EDIT: With your “refresh”, you can use the
setTimeoutfunction to repeat the ajax call: