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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.