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) if i
Hi I am really having trouble using ajax function to make a login form. Here is
what I have so far.
Any ideas?
script type=text/javascript language=JavaScript
$(document).ready(function(){
$('form').submit(function(){
$.ajax({
url:
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?script type=text/_javascript_ language=_javascript_$(document).ready(function(){
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 form.
Here
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=testpass=testsublogin=1
script type=text/javascript language=JavaScript
$(document).ready(function(){
$('form').submit(function(){
$.ajax({
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
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
I have updated to this with the return false. I am still getting the same error.
Any suggestions?
Thanks!
script type=text/javascript language=JavaScript
$(document).ready(function(){
$('form').submit(function(){
element = $('[EMAIL PROTECTED]').get(0);
try:
...
.submit(function(e) {
e.preventDefault();
...
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/