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:
//
On Sun, 8 Oct 2006 22:12:17 -0400 TJ <[EMAIL PROTECTED]> wrote:
>
> I have updated to this with the return false. I am still getting the same
> error.
>
> Any suggestions?
>
can you send a link to that page? Your code is working for me (calling
register php and browser stays on old location)
try:
...
.submit(function(e) {
e.preventDefault();
...
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I have updated to this with the return false. I am still getting the same error.
Any suggestions?
Thanks!
$(document).ready(function(){
$('form').submit(function(){
element = $('[EMAIL PROTECTED]').get(0);
myusername = element.value;
my
You are getting a js error. You have too many: '});' for the opens,
because you have one at the end of the success: line.
-Steve
TJ wrote:
> I added the login, sorry about that
> When I execute I get the vars in the address bar
> http://www.tjshafer.com/baintown/main.php?user=test&pass=test&subl
when you override submit with js , you have to return false, or it
gets submitted the old fashioned way!
On 10/8/06, TJ <[EMAIL PROTECTED]> wrote:
>
> I added the login, sorry about that
> When I execute I get the vars in the address bar
> http://www.tjshafer.com/baintown/main.php?user=test&pass=
I added the login, sorry about that
When I execute I get the vars in the address bar
http://www.tjshafer.com/baintown/main.php?user=test&pass=test&sublogin=1
$(document).ready(function(){
$('form').submit(function(){
$.ajax({
url: "process.
i prolly shoulda looked at the code harder, thats probly your problem...
On 10/8/06, Blair McKenzie <[EMAIL PROTECTED]> wrote:
> I don't see any element with the id 'login'.
>
> On 10/9/06, TJ <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi I am really having trouble using ajax function to make a login
I don't see any element with the id 'login'.On 10/9/06, TJ <[EMAIL PROTECTED]> wrote:
Hi I am really having trouble using ajax function to make a login form. Here is what I have so far.Any ideas?
$(document).ready(function(){
$('form').submit(function(){
$.ajax({
Hi I am really having trouble using ajax function to make a login form. Here is
what I have so far.
Any ideas?
$(document).ready(function(){
$('form').submit(function(){
$.ajax({
url: "process.php",
type: "POST",
10 matches
Mail list logo