How to solve Inject Js Script error?

Inject Js Script error.

Hi,

We need to write as the following

function (element, input) {
    //your script
}

Regards,

Hi,

we need to write it as the following.

"function(element, input){ document.getElementById(.......}"

Regards,

Hi,

Why don’t you use Click activity? Is there any reason to use Inject JS script?

Regards,

Hi,

Probably, event is not triggered when you click it. Workaround will be the following , for example.

Use Click activity (Default mode. Uncheck Simulate Click and SendWindowMessages)

or

Use Inject JS Script to trigger event.

https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.