Hi,
i have a dropdown list where i have 3 options like
<tr>
<td><?php echo $entry_shippingtype; ?></td>
<td><select name="type">
<option value="free">Free Shipping</option>
<option value="flat">Flat Rate Shipping</option>
<option value="weight">Weight Based Shipping</option>
</select></td>
</tr>
<tr>
<td><?php echo $entry_shippingamount; ?></td>
<td><input type="text" name="shippingamount" value="<?php echo $shippingamount; ?>" /></td>
</tr>
When i select free shipping shippingamount textbox should be disabled. I dont know how to do it with javascript. Can someone help me please.