Try this instead:
<script>
window.onload = function(){ window.close();};
</script>
😃 😃
cluelessPHP wrote:I found a use for JavaScript
So did I:
[1010] Wed 14.Sep.2016 14:37:41
[urmom@server][~/www/pr] wc -l script.js
817 script.js
[1011] Wed 14.Sep.2016 14:37:46
[urmom@server][~/www/pr] grep -c function script.js
43
Still feels like I can do things much faster in PHP though (from a coding standpoint). But just think, now with AJAX I can write MOAR CODE in both languages ... :rolleyes: