function Fun_Search()
{
if (event.keyCode==13)
{
if(document.getElementById('search_txt').value==''||(document.getElementById('search_txt').value)=='Enter the search string')
{
alert('Search string can not be blank.');
return false;
}
document.getElementById('search_btn').disabled=true;
self.location.href='http://www.nitinkumar.com/home/search_new.aspx?find='+document.getElementById('search_txt').value;
return false;
}
}
Wednesday, 20 August 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment