![]() |
|
|
+ Search |
![]()
|
Oct 13th, 2003 02:35
Mister Sokrates, Ravi Baid,
Is this what you need?
<a href="javascript:var a;if(a==1){alert('Cant do popup dwice!')}else
{a=1;alert('Popup function here');}">popup</a>
if it will not work (it does on ie55) the n try that way:
<script>
var a = 0;
</script>
<a href="javascript:if(a==1){alert('Cant do popup dwice!')}else
{a=1;alert('Popup function here');}">popup</a>