Hi i have the following code i want that when i click on the "by name" option my value of text box date "from and to "should be hide and when i click on the date option my name textbox should be hide please help me immediately thanx in advance <html> <head> </head> <title>asd</title> <body> Search By <select onchange="text();"> <option value="name">By Name</option> <option value="date">By Date</option> </select><br><input type="text"> From <input type="text"> To <input type="text"><br> Select File <input type="file"name="file"><br><br> <input type="button"name="submit" value="submit"> </body> </html>