I Want To select zone then it load places into zone dependent using show and hide options into the select field but i need to retrieve multi columns like (name , parent)
then filter with parent ?
Using the dependent() method sounds like the way to go here. You can have it make an Ajax request to get any options from a database (if you need that) and also set other field values.
Replies
Using the
dependent()
method sounds like the way to go here. You can have it make an Ajax request to get any options from a database (if you need that) and also set other field values.Allan
As a start you could look at this example as well:
https://editor.datatables.net/examples/api/dependentFields
and here is an example from my own coding: