Activate ActiveX control using Javascript
Introduction
Today I am going to talk about common issue most of developer faces when they are trying to use an ActiveX control in his web page, and they want user to use the control without click it twice.
Problem
When web developer use an ActiveX control in his web page, users of this web page should click twice on the ActiveX control first click to activate the ActiveX control and second time to use the control.
Solution
Solving the above issue is very simple just follow the below steps:
- Download and Add this Javascript file to your web application
- Add the following line before the end body tag in your web</body>
<script type=”text/javascript” src=”virtual path of added JS file in step1″/>
Note, I have read many articles for fixing this problem but most of them not working and need to write Javascript codes but this article only was working, so I have wrote this post to give you the best solution I have found after long time of search.
I hope That Helped.
2 Comments »
Leave a reply to mohammedatef83 Cancel reply
-
Archives
- June 2023 (1)
- April 2022 (2)
- May 2021 (1)
- September 2020 (1)
- August 2020 (1)
- July 2020 (2)
- March 2019 (1)
- June 2013 (1)
- May 2013 (3)
- March 2013 (1)
- February 2013 (1)
- September 2012 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS
This design is wicked! You most certainly know how to keep a reader
entertained. Between your wit and your videos, I was almost moved to
start my own blog (well, almost…HaHa!) Great job.
I really loved what you had to say, and more than that,
how you presented it. Too cool!
Comment by oreck store | January 1, 2013 |
thank you for your kindly comments, if you write any post in ur blog share with me, i am interested to learn and share with others anything new.
Comment by mohammedatef83 | January 2, 2013 |