Home > Web Front-end > JS Tutorial > Example of interaction between ActiveX control and Javascript_javascript skills

Example of interaction between ActiveX control and Javascript_javascript skills

WBOY
Release: 2016-05-16 16:46:25
Original
1344 people have browsed it

1. ActiveX passes parameters to Javascript

Copy code The code is as follows:



objectname is the name of the ActiveX control, passed The id attribute setting in the tag is as follows;
Copy code The code is as follows:

name="objectname"
codebase="objectname.cab#version=1,0,0,0"
classid="clsid:357A8DEC-0CFC- 4D8D-9869-C2C356B844F7">
The event is triggered, fun2 is called, and arg is the parameter passed by the ActiveX control.
To be added…
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template