PHP
9
Вклад в тег
upload.on('change', function(){
var data = new FormData();
data.append('file', uploadButton[0].files[0]);
$.ajax({
url: '/url/upload.php',
type: 'POST',
data: data,
processData: false,
contentType: false,
dataType: 'json',
success: function(result) {
},
error: function (result) {
}
});
});
<slelect name="gocity">
<option value="1">Кокшетау</option>
<option value="2">Караганды</option>
</select>