Step1: We have to add style for the place holder.
<Style>.placeholder {color: #aaa;}</Style>


Step2: We have to add javascript file .js which can be downloaded from the Internet
                      

<script src="js/jquery.placeholder.js" type="text/javascript"></script>


Step3: We have to add Javascript in the document header
 

<script type="text/javascript">
 
//this is for search TextBox added by bharathi
 
$('input[placeholder]').placeholder();
 
</script>


Step4: We have to add html code inside the form tag like below
 

<input type="text" id="txtSearch" name="T1" size="20" placeholder="Search  " class="SearchTextBox"   onkeydown="return (event.keyCode!=13);" /></td>