Ok, I think the problem is related to using XMLHttpRequest in a cross-
site situation (which I was, since my API is a different domain than
my HTML). I will resolve this using jsonp, or some other method.
Sorry for the trouble. Hope this helps others.
Hammering this home, I also tried to point my form to your test.php
page, but still no change. I do see your response, but it moves the
browser forward to a new page to display it. I also have the exact
same versions of jquery and jquery form plugin. Is there some other
setting somewhere on our
Well I just tried putting all the javascript into the but that
didn't help. It's still the same. It is calling the beforeSubmit
callback, because I see the showOverlay. But then it doesn't call the
success callback, but instead just posts the form normally.
What is your test.php file returning
Weird. Could it be that you are have the $(document).ready call in
the ? I currently don't have it set up this way. But I thought
from looking at other examples that it didn't matter.
On Feb 19, 12:29 pm, Mike Alsup wrote:
> > I am also seeing this same behavior. I'm using FF 3.0.6.
> > I ha
> I am also seeing this same behavior. I'm using FF 3.0.6.
> I have tried various arrangements of the code using all the examples
> from the plugin's webpage, but it always submits via non-AJAX.
Seems to work ok for me:
http://www.malsup.com/jquery/form/testing/feb19.html
Are you including the
Nevermind my second point in my last post. I see why it was calling
those callbacks immediately. duh. I had parentheses after their
names in the options hash!
Anyways, I do still have the main problem of not submitting via AJAX.
Daniel and all,
I am also seeing this same behavior. I'm using FF 3.0.6.
I have tried various arrangements of the code using all the examples
from the plugin's webpage, but it always submits via non-AJAX. Also,
if I try to use an options param to ajaxForm rather than a function
callback, it will
> It is posting, but its not ajax posting. I've tried with and without
> other inputs, and it still submits like a normal form. I'm losing my
> mind over this one! Thanks for the quick response, Mike. Love the
> plugin, and have used it more than once!
Daniel, can you post a link that shows the
It is posting, but its not ajax posting. I've tried with and without
other inputs, and it still submits like a normal form. I'm losing my
mind over this one! Thanks for the quick response, Mike. Love the
plugin, and have used it more than once!
On Feb 18, 5:26 pm, Mike Alsup wrote:
> > Everythin
> Everything has been checked for validation and so on. Doesn't work in
> IE or FF. Thanks in advance!
>
>
> $(document).ready(function() {
> var submitoptions = {
> target: '#loading'
> };
>
> $('#e2').submit(function(){
> $(this).aj
10 matches
Mail list logo