That does make sense. Thanks Mike.

However, any idea why it works fine with a regular <A> link? In the
example link I provided, the link in there also has a TARGET to the
same element and the response from the server is also XML. Yet, that
one works fine...

Peter :)

On Feb 14, 5:43 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> The problem is the use of the 'target' option with the ajaxForm call within
> the jFrame plugin.  That option is meant to target the server response to a
> particular element in the document.  But your server response is an XML
> document, not HTML, and that cannot be inserted wholesale into the current
> doc.
>
> Mike
>
> On Wed, Feb 13, 2008 at 7:28 PM, lvp1138 <[EMAIL PROTECTED]> wrote:
>
> > We are currently designing a very dynamic application, and we thought
> > we could use Jframe, from
> >http://garage.pimentech.net/scripts_doc_jquery_jframe/,
> > to do ajax calls instead of having to write jquery ajax calls code for
> > forms, DIVs, etc, that we constantly remove and add to the DOM.
>
> > It works excellent with regular links, however, it seems to have a
> > problem with forms. Here's an example:
>
> >http://72.18.207.149/english/taconite-test.html
>
> > When you click on the link, the result of the link is displayed on a
> > DIV at the bottom. This is done by jframe without any need for ajax
> > calls. The response is XML and formatted for the popular taconite, and
> > it is just a simple SlideToggle. You can see the code in Firebug.
>
> > However, when submitting a form to the same link, which responds with
> > the same Taconite formatted XML, it fails and Firebug shows:
>
> > Node cannot be inserted at the specified point in the hierarchy. code:
> > 3.
>
> > I would be willing to not use Jframe for the forms, however, how do I
> > add such ajax calls to forms that are being added into the DOM
> > dynamically?
>
> > I hope someone can help... I've been burning my neural cells with this
> > problem for quite a while...
>
> > Peter :)

Reply via email to