$.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
}
});
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/
