Jump to content

AJAX FROM WITHIN AJAX


wolfsys

Recommended Posts

Here is the meat of the situation i have a ajax call that loads the response from a php script into a DIV on my main page with the id of  "content". The html generated by the php script has a link with another call to the same ajax function to updated the same "content" DIV depending on which link the user chooses. (they can choose to edit  or delete the record that is displayed in the content DIV) I want to obviously update the content window to reflect if the record was deleted or to display a form to edit the record if the edit button is chosen. I have tried to send the results of the second ajax call into another DIV called "application" that is part of the original HTML page. But nothing happens either way the response is pointed wether to the "content" or application DIV and i receive no error messages in firefox javascript tools or IE.  Its like nothing happens at all.  Is it not possible to make a ajax call from within a DIV that was generated by another ajax call? 

Link to comment
https://forums.phpfreaks.com/topic/37495-ajax-from-within-ajax/
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.