Re: [jQuery] ajaxSubmit not defined

2007-03-02 Thread ty

I tested it long time ago and it didnt work, cool then.
I hate IE, and rather Firefox than Opera, I'm building a MMORPG and I'll put
a filter to FF users  ;)


On 2/25/07, Mike Alsup <[EMAIL PROTECTED]> wrote:


> $(function() {
>
> // OUTPUT login
> var login_options = { target: '#output-login' };
> $('#login').ajaxForm(login_options);
>
> // PUT HERE MORE ajaxForm items...
>
> // BUSY state
> $('Loading...')
> .ajaxStart(function() {$(this).show();})
> .ajaxStop(function() {$(this).hide();})
> .appendTo('body');
> });
> }
> ---
>
> but it only works on Firefox, Opera and IE are not compatible with it

Can you explain that last statement?  That code works on Opera and IE.

Mike

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ajaxSubmit not defined

2007-02-25 Thread Mike Alsup
> $(function() {
>
> // OUTPUT login
> var login_options = { target: '#output-login' };
> $('#login').ajaxForm(login_options);
>
> // PUT HERE MORE ajaxForm items...
>
> // BUSY state
> $('Loading...')
> .ajaxStart(function() {$(this).show();})
> .ajaxStop(function() {$(this).hide();})
> .appendTo('body');
> });
> }
> ---
>
> but it only works on Firefox, Opera and IE are not compatible with it

Can you explain that last statement?  That code works on Opera and IE.

Mike

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ajaxSubmit not defined

2007-02-25 Thread ty

It's quite simple, you just need to attach some ajax.js, and put this on it:
--
$(function() {

// OUTPUT login
var login_options = { target: '#output-login' };
$('#login').ajaxForm(login_options);

// PUT HERE MORE ajaxForm items...

// BUSY state
$('Loading...')
   .ajaxStart(function() {$(this).show();})
   .ajaxStop(function() {$(this).hide();})
   .appendTo('body');
});
}
---

you just need this, its quite nice ;)
but it only works on Firefox, Opera and IE are not compatible with it
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] ajaxSubmit not defined

2007-02-24 Thread Agrawal, Ritesh

Hi,

I am trying to use ajaxSubmit form plugin..however, when i click on submit
button, the form is submitted without ajax...the problem is that the
javascript is not able to determine ajaxSubmit method. I also tried using
ajaxForm. but again, javascript is not able to find the method. 

I made sure that the form.js is attached to my web page and firebug is
showing form.js in the list of javascripts. 

Does anyone has a idea on how to go from here!!!

Regards,
Ritesh
-- 
View this message in context: 
http://www.nabble.com/ajaxSubmit-not-defined-tf3283071.html#a9132138
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/