Disabling Delete Operation Using jQuery
Certain cases we have to prevent delete texts from the textbox, but we allow them to append texts in it, so we can simply disable the Delete key action by using jQuery keyCode. For example , Here I am going to create a textbox and textarea for sample code. <input type="text" name="kv_textbox_demo" value="abc" id="kv_textbox_demo" > and <textarea name="kv_textarea_demo" id="kv_textarea_demo" > Summa </textarea> Text deletion will ...