Warning: include(/home/commadot/public_html/jquery/plugins/scripts.php) [function.include]: failed to open stream: No such file or directory in /nfs/c03/h06/mnt/167866/domains/commadot.com/html/jquery/slingShot.php on line 28
Warning: include() [function.include]: Failed opening '/home/commadot/public_html/jquery/plugins/scripts.php' for inclusion (include_path='.:/usr/local/php-5.3.15/share/pear') in /nfs/c03/h06/mnt/167866/domains/commadot.com/html/jquery/slingShot.php on line 28
Mission: Forward the user based on the value of a field
$(document).ready(function(){
lastname = $("#last").attr("value");
switch(lastname)
{
case "Lipka":
location.href = "http://commadot.com";
break;
case "Segovia":
location.href = "http://slashdot.com";
break;
default:
location.href = "http://www.yahoo.com";
}
});
Warning: include(/home/commadot/public_html/googleAnalytics.php) [function.include]: failed to open stream: No such file or directory in /nfs/c03/h06/mnt/167866/domains/commadot.com/html/jquery/slingShot.php on line 89
Warning: include() [function.include]: Failed opening '/home/commadot/public_html/googleAnalytics.php' for inclusion (include_path='.:/usr/local/php-5.3.15/share/pear') in /nfs/c03/h06/mnt/167866/domains/commadot.com/html/jquery/slingShot.php on line 89