PDA

View Full Version : AJAX, innerHTML, FORM tag issue



AJB
03-05-2008, 05:54 AM
hey folks, I've got PAGE A which is the top page of the site I'm building. I use AJAX to pull in PAGE B which has a form in it. I then use innerHTML to draw the content into a div.

It works fine except it won't draw any of the code between the <FORM> and </FORM> tags.

Here's a link to the page:
http://www.thelavinagency.com/2_0/lavin.php

If you click on "Sign-In | Register" it should pull the login form into the right-hand column, just beneath "My Catalogues". It works fine in IE 7 but not in FireFox.

Any ideas why?

Thanks folks.

codeexploiter
03-05-2008, 06:12 AM
For me it works in both FF and IE. The only point I noticed is when I click on 'signin|Register' section it issues two AJAX calls to the same URL. It needs only one call for pulling the data.