I have searched quite a bit online. And can't really find an answer. I did implement a solution using window.setTimeout, but doesn't really seem to work. Here is what I want. I click a button and run about 10 javascript functions all together. These are time intensive functions that connect back and fourth to MySQL grab data and stuff. And adds fields (dropdowns/text fields/checkboxes etc.) on the page using AJAX. Now, while this is happening I would like to show a message saying "Please wait..." and let the server process whatever it's processing. Using settimeout doesn't really do much, but freezes ALL the processing for the given amount of time....which doesn't really make sense since nothing is being processed in the background. Unless I am implementing it wrong. While this is happening I would like to DISALLOW user to click ANYTHING at all on the page. Now I know this is very much possible, because I have used it on many sites. Can anyone please help? I am using PHP/Javascript. Thanks in advance.
nmoudgil 0 Newbie Poster
scrappedcola 11 Posting Whiz in Training
nmoudgil 0 Newbie Poster
scrappedcola 11 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.