Can eValid trigger JavaScripts

Discussion of the technology underlying the eValid solution.

Can eValid trigger JavaScripts

Postby LorenJ » Wed Jan 25, 2017 11:33 am

Hey there.

Is there any way eValid can trigger (run) my OWN JavaScript program?

Give me provide some details on this...

Thanks
LorenJ
 
Posts: 1
Joined: Wed Jan 25, 2017 11:29 am

Re: Can eValid trigger JavaScripts

Postby eValid » Thu Jan 26, 2017 11:14 am

LorenJ wrote:Hey there.

Is there any way eValid can trigger (run) my OWN JavaScript program?

Give me provide some details on this...

Thanks


A great question LorenJ.

Thanks for asking.

Turns out there is a special command for this kind of capability.

The assumption is that the name of the JavaScript function is known and is verified to be present in the current page.

Then, you simply use the command:

CallJavaScript wid "function [, argument]" frame-path

Here the "function" is the name you have used for your own JavaScript.

Note that the command takes multiple (or no) arguments, depending on how you implemented your JavaScript passage.

There's no error checking, and if that function/method is not bound eValid's response is -- correctly enough for its purpose -- silence.

So, this is a "buyer beware" kind of capability.

On the other hand there are some neat things that can be done with this capability.

Have fun!

-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons