AJAX is supposed to return XML, so its doing what its made to do.

On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote:
>
> Yet another feature about FireBug I didn't realize :)
>
> I've found the rather obvious source of the problem, not sure if it's a
> JQuery bug, but it's odd nonetheless. It's not getting the form action
> correct:
> POST http://192.168.0.3/modules/tasks/%5Bobject%20HTMLInputElement%5D
>
> The ajaxForm is being called from the callback function of an ajax load:
>
> function callTask(id) {
>       $('#content').load("showtask.php",{id: id},function(){
>               $('#detail').css('display','block');
>               $('#tasks').css('display','none');
>               $("a.addNote").click(function(){
>                       $("#noteform").ajaxForm("#notes");
>                       $('#notecontainer').css('display','block');
>                       $('#notelink').css('display','none');
>               });
>       });
> }
>
> and the form HTML is like so: <form id="noteform" action="taskaction.php"
> method="post">
>
> so for whatever reason, it's returning the action as an object rather than a
> string. ajaxSubmit does the same thing. Any suggestions at what could be
> causing this mixup?
>
>
> Matt Stith wrote:
> >
> > in case you dont know, FireBug is a firefox extention. You can find it
> > pretty quick on google.
> >
> > On 9/17/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> >>
> >> Get Firebug and turn on Debug XMLHttpRequests.
> >>
> >>
> >> On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote:
> >> >
> >> >
> >> > Currently I'm using $("#loading").ajaxError(function(){ to display an
> >> > alert
> >> > box when an AJAX error occurs. Is there anyway I can get more detailed
> >> > info
> >> > about what the error it returned is? I'm currently trying to make my
> >> way
> >> >
> >> > through a problem with a form, and am not quite sure where to start as
> >> > all I
> >> > know right now is that there is indeed an error.
> >> >
> >> > Any help would be greatly appreciated.
> >> >
> >> > Mike
> >> > --
> >> > View this message in context:
> >> > http://www.nabble.com/Error-Handling-with-AJAX-tf2287092.html#a6352667
> >> > Sent from the JQuery forum at Nabble.com .
> >> >
> >> >
> >> > _______________________________________________
> >> > jQuery mailing list
> >> > [email protected]
> >> > http://jquery.com/discuss/
> >> >
> >>
> >>
> >>
> >> --
> >> Yehuda Katz
> >> Web Developer | Wycats Designs
> >> (ph)  718.877.1325
> >>
> >> _______________________________________________
> >> jQuery mailing list
> >> [email protected]
> >> http://jquery.com/discuss/
> >>
> >>
> >>
> >
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Error-Handling-with-AJAX-tf2287092.html#a6354951
> Sent from the JQuery forum at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to