Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 73796

Selecting Multiple in Dropdown

$
0
0

So I'm making a Drop Down Multiple Select but I don't know how to properly change the scripts or the function. Here the multiple select here is the code for the script or function:

       function show_subj(){
        var studID = $('#ddl_stud').val();
        console.log(studID);
        if(studID){
            $.ajax({
                type:'POST',
                url:'grade_dropdown.php',
                data: 'stud_id='+studID,
                success:function(html){
                    $('#ddl_subj').html(html);
        console.log($('#ddl_subj').html(html));
                }
            }); 
        }
    }

Viewing all articles
Browse latest Browse all 73796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>