Jump to content

AJAX - Code Clashes


Jexx

Recommended Posts

Hi

I'm using 2 AJAX scripts..

 

One to make hyperlinks links load in a DIV:

http://www.xul.fr/ajax/responseHTML-attribute.html

 

The other is used to Submit forms with POST method:

http://www.aleixcortadellas.com/main.../01/ajax-post/

 

Both of these work fine by themselves..

But if I use them both the Submit form AJAX always fails.

 

The code I'm using to load the new page into a DIV is:

<li><a href="#" ONCLICK="loadWholePage('system.php')">System</a></li>

This works well.

 

The new page loads, but when I hit the submit button nothing happens.

 

I have a feeling this is something simple.. But I can't see it !

Any ideas ??

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/178203-ajax-code-clashes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.