set non editable edit box editable in js code example Example: js making input non typeable //Use readonly <input id="myInput" readonly>