scott212 Posted February 10, 2007 Share Posted February 10, 2007 I'm trying to create a javascript function that calls a php page ajax style and unhides the table row that contains it. When the user hides the row again and then unhides it again after that, it would be awesome if the javascript already knew that it has been called and only shows the row instead of reloading it. any ideas? Quote Link to comment Share on other sites More sharing options...
scott212 Posted February 10, 2007 Author Share Posted February 10, 2007 *bump* Quote Link to comment Share on other sites More sharing options...
mainewoods Posted February 11, 2007 Share Posted February 11, 2007 once you have retrieved a row, just store some info in an array that identifies that row as already loaded: rowsloaded[] = 'id number or other identifier'; //adds new element at end of array --before you ajax, search the rowsloaded[] array for the row 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.