javascript,jquery,ajax,beforesend,data.success
try this $.ajaxSetup({ beforeSend: function(jqXHR, settings) { settings.url ="new Url"; } }); ...