i have a function like this:
$("#join").colorbox({
onComplete:function(){
// add code here
},
width:"530px", height:"500px", inline:true, href:"#add"
});
what i would like to do is onComplete:function() to create a ajax request to a xxx.php file.
i just want to make the request so that i can call a new url. i dont want to load anything from the new file and i dont want to redirect to that file, i just want to make a ajax call to it.
any ideas?
thanks
Take a look at: http://api.jquery.com/jQuery.ajax/