read content in webbrowser input field

老子叫甜甜 提交于 2019-12-23 01:40:37

问题


Something I have been trying to do and still can't get done. Reading the information typed in a website input field and being able to copy that.

Is there a way I can read the ty


回答1:


try these articles about using TWebBrowser and delphi to read data from a web page.

  • How to read and write form elements
  • TWebBrowser OleObject and Document data



回答2:


Javascript

document.getElementById('input-field-id').value 

returns the contents of an input box. What are you trying to do?



来源:https://stackoverflow.com/questions/4884285/read-content-in-webbrowser-input-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!