If I create a select dropdown using jQuery then .change() method is not working

My Javascript code is like that for(var k in totalimage) { $(‘#country’).append(‘<select><option>’+country[k].name+'</option></select>’); } If I change the selected country, I want to show only that country’s cities in the city dropdown that also binds using jQuery but .change() method is not working. I want to upload multiple image at same time. And also I need…

I can’t fetch student marks website using ajax

I’m trying to fetch this site http://secondary2019.moed.gov.sy/literary/result.php I wrote this code as ajax: $.ajax({ url: “http://secondary2019.moed.gov.sy/literary/result.php”, method: “POST”, dataType: ‘text’, data: { city: 10, stdnum: 1516, }, success: function(data) { var obj = $.parseJSON(data); console.log(obj); } }); <script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script> But no effect. Any way to fetch it ? Note : I wrote a php fetch…