javascript - Hide an input until a checkbox has been checked -
in following form how can hide <input> tag after checkbox , show when checkbox checked? <ul style="list-style-type:none"> <li> <input type="text" name="accountname" style="width:95%" class="field-style field-full align-none" placeholder="company name" /> </li> <li> <label>please fill in contact information below</label> <input type="text" name="firstname" class="field-style field-split align-left" placeholder="first name" /> <input type="text" name="lastname" class="field-style field-split align-right" placeholder="last name" /> </li> <li> <input type="text" name="address" class="field-style field-split align-left" placeholder="street # , name" /> <sele