How to unbind keyup event?
javascript
Solution
`document.getElementById('search_term').onkeyup = null;`
Inline event handler attributes are assigned to the `oneventname` property of the element, so just set it to null to detach the event listener.
Problem
I have html code like this: ``` <input type="text" name="search1" class="search" id="search_term" onkeyup="check_search(e,this.value,'searchkey');"> ``` And i want to unbind this key event on the document ready.