wolfsys Posted February 7, 2007 Share Posted February 7, 2007 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? Quote Link to comment Share on other sites More sharing options...
artacus Posted February 7, 2007 Share Posted February 7, 2007 You can can call a js function regardless of where the call came from. So from w/in a div loaded by ajax is fine. Something else is broken. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.