I have a file util.js and there some funtions in same file.
For example functions name are keyUp, keyDown, isNumeric, isAlphaNumeric
I have used these functions in aspx code behind in a textbox to restrict user that he may not be able to input any special character.
Before, I used the code directly in aspx file but I have do it for different textboxes therefore to avoid much coding in aspx file I created util.js and put all code in this file but how to use these particular functions in aspx file I couldn't find the way.
Anyone have idea. Do share with me.
I used the reference like this:
' Font-Names="Verdana" Font-Size="8pt" Onkeyup= "keyUp(event.keyCode)" Onkeydown="return isAlphaNumeric(event.keyCode);" onpaste="return false;">
View Complete Post