Check Variable Open Page

[Total: 0    Average: 0/5]

This script will check a variable and if equilivant to a true will send the user to another page.

Body Code:

<script language="JavaScript">
var a=1
   function OpenLink()
   {if(a)
self.location="http://www.js-examples.com/";
   }
OpenLink();
</script>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *