Javascript、Js处理引擎
hellochenlian
架构师,精通互联网、区块链、人工智能技术。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
document.all
----------- 怎么访问文档中的一个特定元素,比如文档中有一个DIV ,你可以通过这个DIV的ID,NAME或INDEX属性访问这个DIV: document.all["docid"] document.all["docname"] document.all.item("docid") document.all.item("docname") document.all[1]转载 2013-10-10 16:26:11 · 796 阅读 · 0 评论 -
javascript之external和VC对象交互
1.关于JS脚本引擎之external研究 class AFX_NOVTABLE CCmdTarget : public CObject { // OLE automation implementation protected: struct XDispatch { DWORD_PTR m_vtbl; // place-holder for IDispatch vtab原创 2013-10-11 17:51:11 · 2470 阅读 · 0 评论 -
VC如何生成字符串数组给javascript使用
VC: IDispatch* CTraceViewDlg::GetVersionList() { std::auto_ptr users(new COleStringCollection()); IDispatch* result = users->GetIDispatch(FALSE); for (int i = 0; i get_Count(); ++i) {原创 2013-10-11 18:10:57 · 1149 阅读 · 0 评论
分享