I use IdHTTP.get for get the HTMl of a url, but in this url is a table that load with ajax and I must wait a few seconds to it loaded and after it get the HTML of page.
have can I wait for this?
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.
Ajax uses client-side scripting to send background HTTP requests to the server and manipulate the HTML page that is already loaded in the browser.
TIdHTTPwill download the raw HTML data, but you would then have to execute the Ajax scripting yourself and send those extra requests yourself if you want it to do something.TIdHTTP(and Indy in general) cannot handle Ajax for you.