/ Published in: JavaScript
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<input type="text" value="Site search" onfocus="if (this.value=='Site search') {this.value = '';}" onblur="if(this.value=='') {this.value = 'Site search';}" name="search" />
Comments
 Subscribe to comments
                    Subscribe to comments
                
                