以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  想从本地网页上获取数据,如何处理?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=143468)

--  作者:gudao123456
--  发布时间:2019/11/26 0:38:00
--  想从本地网页上获取数据,如何处理?
想从本地网页,如:c:\\program filesX86)\\ms\\md\\index.html   变量名为 EloamGlobal.ReaderGetCpuCreditCardNumber()的值,如何处理?
说的明白点,就是一台身份证读卡器,已经将身份证号码读到了浏览器的变量名为:EloamGlobal.ReaderGetCpuCreditCardNumber() 中(通过查看脚本文件看到的),我想将这个变量数据读进foxtable表中,如何处理?谢谢!
[此贴子已经被作者于2019/11/26 0:57:35编辑过]

--  作者:有点蓝
--  发布时间:2019/11/26 8:49:00
--  
通过InvokeScript执行网页里的js获取变量的值:http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=125150&replyID=840692&skin=1

--  作者:gudao123456
--  发布时间:2019/11/28 12:55:00
--  
请教老师:SetAttribute() ,和web.Document.InvokeScript()是如何用的?需要些什么参数?能举例说明一下吗?谢谢!
--  作者:有点蓝
--  发布时间:2019/11/28 14:28:00
--  
这些是帮助以外的知识:https://www.baidu.com/baidu?word=web.Document.InvokeScript