2006/10/9, TJ <[EMAIL PROTECTED]>:

                $.post('process.php', {username: myusername, name: mypassword});
                element.value = '';
                return false;

                        });

Umm, are you sure  that is the correct  post function params?? I think that it is some as:

//username input has name attribute as "userinput" ....
$.post("process.php",{username: this.userinput.value, pass: this.passinput.value}, function(data){
       //check data response by example if you login in, process.php can send "OK" and in other case "ERROR"
        if (data="">             //do something
        }
});

I have no problem with ajaxed login. I never return false in the _javascript_ but it is neccesary write in the html form
My HTML:
<form false" name="form1" method="post" action="">       <input ..../>
       <input ..../>
</form>

JS:
$("[EMAIL PROTECTED]").submit(.....)
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to