INLINE JAVASCRIPT ENABLE/DISABLE SELECT AND TEXT BOX ON CLICK RADIO BUTTON : >  Hello i am trying inline script  to enable disable with radio button
> but it is not working how to do that?

    <form>
    <select id="mySelect">
      <option>Apple</option>
      <option>Pear</option>
      <option>Banana</option>
      <option>Orange</option>
    </select>
    <br><br>
    <input type="radio" name="ph" onclick=" document.getElementById("mySelect").disabled=true;" value="Disable list">DISABLE
    <input type="radio" name="ph" onclick="enable()" value="Enable list">ENABLE
    </form>