Jump to content
MakeWebGames

Ajax not working in FireFox browser? WTF???


Sim

Recommended Posts

when i submit my form, it shows teh alert box news successfully added in IE, but when I check it in FireFox, it doesnt show that message or add the news to the mySQL DB.

any ideas whY?

 

$(document).ready(function(){           
   $("#save").mouseup(function () {
       $("#error").html("Saving...");
       var News = document.form1.textNews.value;
       var Subject = document.form1.textSubject.value;
       var GameName = document.form1.hidden.value;

       //$.post("./gamefiles/admin/js/ajax/crimegroupadd.php", $('#form1').serialize()),
       $.post("http://rpg.antgaming.com/gamefiles/admin/js/ajax/newsadd.php", { textNews: News, textSubject: Subject, hidden: GameName },
           function(data) {
               alert(data);
               $("#error").html(data);
           });

   });
}); 
Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...