I'm new in ajax

i've success to insert data to my database using ajax in chrome..
but when i open my mozilla, and try again I cant get my script work ??
what happen?
please tell me how the way to fix it ..

Have you checked your developer console for possible errors? Usually it shows information about what's going wrong - if something is going wrong.

no error..
just cant input.
it happen after i combine 2 different script ajax ..
or may be it cause of a double ajax call??

In your Javascript console, do you get a confirmation of your AJAX request being executed? If not, apparently something isn't working right. Could you post the lines of your script that we're talking about here?

$("#submitcontact").click(function() {

var statuscontact = $("#statuscontact").val();
var id_pesan = $("#id_pesan").val();
    var dataString = 'statuscontact='+ statuscontact + '&id_pesan=' + id_pesan ;

    if(statuscontact=='' || id_pesan=='')
    alert('Please Give Valide Details');
    $("#flashcontact").fadeIn(200).html('<img src="ajax-loader.gif" align="absmiddle">&nbsp;<span class="loading">Loading ...</span>');
    type: "POST",
    url: "account/modul/aksiajax.php?modul=contact&act=inputcontact",
    data: dataString,
    cache: false,
    success: function(html){

  $("div.update li:last").fadeIn("slow");

return false;

no im not..

now my problem already solved after i change position of my extensi .js to my index page (internal).
and erase unimportant script.

but now when i try this to IE, it not work

This article has been dead for over six months. Start a new discussion instead.