0
I am developing a simple crud with ajax and jquery and came across the following question...
$('#btnDelete').unbid().click(function(){
$.ajax({
type: 'ajax',
method: 'post',
async: false,
url: url,
})
})
Note that my url only counts with url: url, in another place there is a script similar but with a different url. What would be the difference ?
$.ajax({
url: '<?php echo base_url() ?>usuario/remover',
type: 'POST',
data: dados,