title: How to execute a javascript function on TIDHttp (indy) delphi?
body: <p>I have a TIDHttp (Indy) component, retrieving a website, from where I get the html text to parse and with the data gathered display into a delphi form.</p>
  <p>The code is working fine, but when more than 10 records are found, the website shows a link to a Next() javascript function that loads the next 10 records and so on.</p>
  <p>Is there something that I can do with TIDHttp in order to execute the next() function ?</p>
  <p>The code I'm using to retrieve the html text is as follows:</p>
  <pre><code>procedure TForm1.ObtemStringsCorreio(aParamEntrada:string; var aRetorno:TStringList);
  var
      _ParamList : TStringList;
  begin
      _ParamList := TStringList.Create;
  
      _ParamList.Add('cepEntrada=' + aParamEntrada);
      _ParamList.Add('tipoCep=ALL');
      _ParamList.Add('cepTemp=');
      _ParamList.Add('metodo=buscarCep');
  
      try
          aRetorno.Text := idhtp1.Post(cEngineCorreios, _ParamList);
          mmo1.Lines.Clear;
          mmo1.Text :=  aRetorno.Text;
      finally
          _ParamList.Free;
      end;
  end;
  </code></pre>