How to update div when on select change in jquery

前端 未结 4 1505
别那么骄傲
别那么骄傲 2020-12-09 13:10

I have a form with a select field and a div i wish to update with a value depending on what the user selects.

Example:


    
    
    


If you want to make it with AJAX, change the javascript function to something like that:


And in your info.php, you'll have something like:

提交回复
热议问题