I am using some components from Syncfusion (grid ejs2) and am trying to create a cascade form... you know the classic 1 dropdown select populate a 2 dropdown. Just for clarify is a automatic form created for "add new" and "edit" from the grid component, so, is not a form created from scratch.
The problem is how it work's the component, is not exactly a html object, is a fancy dropdown html list like this, with all the elements.
And the select html element is hidden like this: (this select element only have one option all the time)
When an option from the fancy list is selected the select option values changes, changing the "value" and "text" part of the option like this:
<option selected value="2">IT</option>
I need to detect when this change occurs for know this values (make an ajax call and populate a second select), I try with $("#GridEmpresaId_hidden").change but not work (because the selected option doesnt change) only his value is changed by some script.
Is there a way to detect the change of value and text of the option ??
Thanks in advance