UPDATE database after select option change

前端 未结 3 598
闹比i
闹比i 2021-02-03 15:52

\"Database\"

3条回答
  •  逝去的感伤
    2021-02-03 16:55

    Try using ajax with jquery like this

    $(this).on('change', function() {
        var id = $(this).html();
        alert(id);
        $.ajax({
            type:'POST',
            //url: 'updateurl
            success: function(data) {
                 //open dialog box and fill it with data
            }
    });
    

提交回复
热议问题