rundog99 Posted October 16, 2012 Share Posted October 16, 2012 Hi all - I have a query. I am using show/hide visibilty divs for certain lookup data from an sql query For example UserName <View Details> - clicking view details would show a query containing the user details. Now, That query is run regardless of the div state visible or not, What I would rather do is fire the query ONLY when it is visible - So I gues that's the question - Any bright Ideas? Thanks Link to comment https://forums.phpfreaks.com/topic/269520-div-visibility-to-fire-an-sql-query/ Share on other sites More sharing options...
codefossa Posted October 22, 2012 Share Posted October 22, 2012 Just check the CSS display of the element before sending the request. Link to comment https://forums.phpfreaks.com/topic/269520-div-visibility-to-fire-an-sql-query/#findComment-1386959 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.