This question: Is it possible to programmatically click on the button located on the web site, the site does not have api, there is only a form and the button itself:

<div class="ckBtnCon"> <input name="submit_bt" id="submit_bt" type="submit" value="Отправить" /> &nbsp; </div> 

Ie programmatically I am going to fill in the necessary fields in the form, and how to press the button on the program? Ie the user filled out the form in the application and clicked on the button, the data is transferred to the form on the site and then the button should be clicked on the same site

2 answers 2

For this, there is a click() method:

 document.getElementById('submit_bt').click() 
  • I have not met ... for androyd is - upward

Alternatively, you can use a sniffer (traffic analyzer) and see what happens (where and what request is sent) when you click. Then you can make this request directly in your application.