����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.17.61.107 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirmacademy.com/public/frontend/assets/js/custom/ |
Upload File : |
"use strict"; $("#country_id").on("change", function () { var country_id = $(this).val(); var base_url = $("#base_url").val(); $('#state_id').empty().append($('<option>', { value: '', text: 'Select State' })); $('#city_id').empty().append($('<option>', { value: '', text: 'Select City' })); $.ajax({ type: "GET", url: base_url + "/student/get-state-by-country/" + country_id, success: function (GetData) { $.each($.parseJSON(GetData), function (i, obj) { $('#state_id').append($('<option>', { value: obj.id, text: obj.name })); }); } }); }); $("#state_id").on("change", function () { var state_id = $(this).val(); var base_url = $("#base_url").val(); $('#city_id').empty(); $.ajax({ type: "GET", url: base_url + "/student/get-city-by-state/" + state_id, success: function (GetData) { $.each($.parseJSON(GetData), function (i, obj) { $('#city_id').append($('<option>', { value: obj.id, text: obj.name })); }); } }); });