12
Dec
function Check(form)
{
value=form.nickname.value

var valid=/^[0-9a-zA-Z_]*$/;

if(value!="" && !valid.test(value))
{
form.nickname.style.background = "#FFCCCC";
alert("field must contain only alphabets,numbers and underscore.\n");
return false;
}
return true;
}

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Reddit Post to StumbleUpon

Share or Bookmark This Post With :

One Comment
prabhu Posted On August 13th, 2008

he is very innocemt

Leave a Reply

Subscribe to RSS Feeds Follow me on Twitter Add to Favourite
 
Sponsors
 
Tags
 
Network [+]
 
© Copyright 2009 - 2011 TechiePark.com. All Rights Reserved | Powered by WordPress
This work is licensed under a Creative Commons Attribution 3.0 Unported License
Php5 powered    Mysql powered    Apache powered   Best viewed with  Spread Firefox Affiliate Button