This is javascript



<script type="text/javascript">
function defaultfn(){
var x=document.getElementById('task');
x.disabled=true;
var...