driver.find_element_by_id('idname').clear()
driver.execute_script('document.getElementById("idname").removeAttribute("readOnly");')