Hey, client-side gurus:
I’ve got a PHP app (just for internal use), where I currently provide a link in the output to a log file, so that the user can check when the background process they started has completed (or failed). So, once they click the submit button and it fires things off, I just display a link to the log file on the resulting page:
[code=php]
echo <<<EOD
<p class=’success’>Started file creation. Check <a href=”$log”>the log file</a> for status.</p>
EOD;
It would be nice to instead just display that log file in a pop-up modal window (maybe an onclick event on that link?), but I’d really hate to “pollute” this simple little HTML form page with loads of JavaScript library code and such. Is there a clean “best practices” way to do this — maybe even just HTML/CSS? — for my poor little server-side-specialist brain to work with?