I have a custom dialog with a button and an input on it. On the click event of the button I want to trigger the OnChange
function of the input. I don't know how to get the sibling UIElement
of the current one.
Here is an example of my code:
{
id : 'txtUrl',
type : 'text',
label : 'My input',
onChange : function() {
alert('content changed')
}
}
{
type : 'button',
align : 'center',
label : 'My Button',
onClick : function() {
// execute the input.onChange()
?????
}
}