How do I populate a combobox when checkbox is checked or not on click event.
If I click checkbox then combobox fill certain values, and
If I uncheck then combobox will get its original items.
How this can be done using ajax (jQuery) ?
How do I populate a combobox when checkbox is checked or not on click event.
If I click checkbox then combobox fill certain values, and
If I uncheck then combobox will get its original items.
How this can be done using ajax (jQuery) ?
Yep, Ajax would be good, but do you need to get the data from a db or php include file? Perhaps you could get the data directly from js.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.