mutago
08-16-2015, 10:36 AM
I have this code that post ajax form to database1.php and i now want it to post also to another page database2.php
how can i achieve that
function sendData(url, data) {
$.ajax({
url: 'database1.php',
type: 'POST',
processData: false,
contentType: false,
data: data,
cache: false
}).done(function (data) {
});
}
Thanks
how can i achieve that
function sendData(url, data) {
$.ajax({
url: 'database1.php',
type: 'POST',
processData: false,
contentType: false,
data: data,
cache: false
}).done(function (data) {
});
}
Thanks