What specifically is not working correctly? Maybe the filepath
'myFolder/login.php' could not be found? Is it not returning anything?
Use Firebug for Firefox to help debug AJAX issues.

On Feb 23, 8:36 am, phicarre <gam...@bluewin.ch> wrote:
> 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 ?

Reply via email to