> This function runs correctly: > > function authentication() > { > $('#myForm').ajaxSubmit( > { > type:'POST', > url:'login.php', > success: function(reponse,status) { }, > error: function(requete,iderror) { } > }); > return false; > } > > But not this one: > > function authentication() > { > $('#myForm').ajaxSubmit( > { > type:'POST', > url:'myFolder/login.php', > success: function(reponse,status) { }, > error: function(requete,iderror) { } > }); > return false; > } > > Why ?
What exactly do you mean? Are you saying there is no post request sent to myFolder/login.php? What does Firebug say? Can you post a link?