Here is what I have (it works BTW):
<div class="test">
html JS code
</div>
<script type="text/javascript">
function test()
{ if ($('.test').height() == 0)
alert("text displayed to screen") ;}
$(test);
</script>
This script works by throwing a popup alert to my visitor if the html within the div class html does not display - therfore the height is zero.
What I want instead of the popup Alert is to execute a perl script.
The address would be something like:
/cgi-bin/perlscript.cgi
Any help is appreciated.
Thanks