Hi
I am developing Asp.Net Core MVC App. I am using ejs-switch for a bool ViewModel and i want to change it's value through JQuery on click of another ejs-swith control. Here is my code. Basically, i require the JQuery way to manipulate the controls because standard JQuery syntax won't work with syncfusion ej2 controls.
<ejs-switch id="first" ejs-for="IsVendor" ></ejs-switch>
<ejs-switch id="second" ejs-for="IsCustomer" ></ejs-switch>
<ejs-switch id="third" ejs-for="IsLead" change="ToggleRoleTags"></ejs-switch>
<script type="text/javascript">
function ToggleRoleTags(e) {
//JQuery code here
}
</script>
on click on "third" control, i wanna enable/disable "first" control and check/un-check "second" control. I am using JQuery 3. Please help