visible textbox according to the dropdown value selected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sakila86
    New Member
    • May 2013
    • 1

    #1

    visible textbox according to the dropdown value selected

    Code:
    <p>Pilih carian surat :
    						  <select name="cariansrtmasuklist" id="cariansrtmasuklist"> <option selected="selected" value= "0">-Sila Pilih-</option> <option value= "tarikhSurat" >Tarikh Surat</option> <option value = "tarikhterimasurat">Tarikh Terima Surat</option> <option value = "bulanan" >Bulanan </option> <option value = "perkara">Perkara</option> </select> </p> <input type="text" name="tarikhsurat" id="tarikhsurat" />

    if select Tarikh Surat will visible tarikhsurat textbox.

    regards,
    siti
    Last edited by Dormilich; May 17 '13, 08:52 AM. Reason: Please use [CODE] [/CODE] tags when posting code.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    are you sure you want to do that through a page re-load?

    Comment

    Working...