Home > Software engineering >  Consult the great god VBA click the Internet explorer web page inside Type=submit a submit button. C
Consult the great god VBA click the Internet explorer web page inside Type=submit a submit button. C

Time:01-31

VBA to click on a web page Type=submit a submit button. Click doesn't work?

CodePudding user response:

Document. The getElementById (" formxx "). The submit () a try,
Not too clear your specific scenarios, submit failure reason in your code, not necessarily may also be an error in the page (IE compatibility of garbage, for example), if you understand how to analyze the form submission address and parameters, and the target sites do not fully CSRF protection, also can not fill in this form, Post or Get data submitted directly to the address,

CodePudding user response:

reference 1/X - I - n reply:
document. The getElementById (" formxx "). The submit () a try,
Not too clear your specific scenarios, submit failure reason in your code, not necessarily may also be an error in the page (IE compatibility of garbage, for example), if you understand how to analyze the form submission address and parameters, and the target sites do not fully CSRF protection, also can not fill in this form, Post or Get data submitted directly to the address,
this tried, VBA not submit method, with the click can be performed, is to use
  •  Tags:  
  • VBA
  • Related