Hi,

I have been trying to use below code but still does not work using the extended properties


document.getElementById('"+btn_Refresh.Id+"').click();"

I have been also trying to use below.


function ClickchkSecCode(){
document.getElementById('"+chkSecCode.Id+"').click();
}

SyntaxEditor Code Snippet

onblur : "ClickchkSecCode();"

but still to no avail

Hello


Have you tried with jquery? Something like this:

"$('#"+btn_Refresh.Id+"').click()"

Hi Jay,

I have tried to implement the mentioned scenario in a sample app.

Check this out: https://sbsam.outsystemscloud.com/UI_SampleApp/JSBlur.aspx

Scenario 1: Click the visible button as an handler for the onblur event defined on the Input_Name input control


Scenario 2: Click the hidden button as an handler for the onblur event defined on the Input_UserName input control

Note:

- Don't set the hidden button visible property as False

Instead set the style as display:none (in extended property)



Hope this helps you!


Thanks & Regards,

Benjith Sam