Posts by user93827 • 16 points
1 post
-
-1
votes1
answer438
viewsA: Select related to another select, pulling data from the database
In the onChange event of your select, create a method and do an ajax search to popular the second select. Something like this: $('.select1').on('change', function(){ var id = $(this).val(); $.ajax({…