How can accept only number in input box
<p>i have input box. i want to take only number in it even if user right click text and use mouse to paste.</p>

<p>I do not want plugin..just jquery code</p>

<p>i use keyup event but it no work</p>

<p>if user enter any other character except digit, it should instantly replace with empty string</p>
