Ajax function with location.reload acting weird -


i have function sends values db, function works great until include success function location.reload(). sends empty values.. though... works fine, should able rely on it.

any suggestions?

$.ajax({    url: 'core/manage_articles.php',   type: 'post',   data: {     blog:title,     title:title,     text:text,     lat:lat,     lng:lng,     success: function() {       location.reload();     }   } }); 

well... didn't lib using i'll go on semiwild guess (might not right):

$.ajax({    url: 'core/manage_articles.php',   type: 'post',   data: {     blog:title,     title:title,     text:text,     lat:lat,     lng:lng   },    success: function() {       location.reload();     }   } }); 

try this.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -