ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

click button java web browser

Hello,

I'm trying to figure out how to access the javascript in a web page.  I have the page loaded in the activex container, and I've made all of the changes to the form.  But the regular submit method doesn't work, and I realize it's because the button activates a javascript.  Here is the html code for the button:

 

<INPUT type=button value=" SAVE " id="saveBTN" accessKey="s" onClick="DoSaveAdd()">

 

Does anyone have any idea how I might either click the button, or otherwise access the "DoSaveAdd()"?  It looks like I can access a reference to all of the scripts in a web page.  But then I get lost when I'm trying to figure out how to pick this script out, and then execute it.

Pat

0 Kudos
Message 1 of 3
(3,712 Views)

Hi,

 

I am trying to do this, did you ever find the solution?

 

Thanks Ben

0 Kudos
Message 2 of 3
(3,563 Views)

Hey Ben, I didn't figure out how to do this yet.  I'm going to get back into it some time this month, and I will let you know if I figure it out.

Pat

0 Kudos
Message 3 of 3
(3,559 Views)