Jump to content

Javascript events


Lukeo
 Share

Recommended Posts

Hi all,

 

I am trying to create a testing interface for some elearning work I am doing.

I want to make a button called next to drive a captivate8 module interface via javascript. I can get the javscript to work fine but not via the button.

I am using the onclick event but I have to physically click the browser screen to get it to work instead of doing this directly from the button. Can any one suggest a way to do this?

This is what I am using:

Func Button1Click()
_IEHeadInsertEventScript($oIE, "document","onclick","cpAPIInterface.next();")

EndFunc

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...