153
rated 0 times
[
155]
[
2]
/ answers: 1 / hits: 64378
/ 8 Years ago, wed, june 29, 2016, 12:00:00
This is the ajax
$(.urut).change(function() {
$.ajax({
url: <?php echo base_url(); ?>categories/brand/<?= $link_brand; ?>?l=<?= $l; ?>&h=<?= $h; ?>&city=<?= $city; ?>&city_name=<?= $city_name; ?>&ket=view,
type: POST,
data: urut= + $(.urut).val(),
success: function(data) {
$(#result).html(data);
}
})
})
This works, but i want the url to change because I have many parameters there and of course with the data: urut=+$(.urut).val(),
parameter as well.
More From » php