Advertisement
jhulbe

useragent string

Aug 31st, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <clientscripts>
  2. function AllowInput(e,val)
  3. {
  4. var charCode = (navigator.appName == "Netscape") ? e.which : e.keyCode;
  5. var sVal=(val+String.fromCharCode(charCode));
  6. return !(reIS.test(sVal) || reIS.test(String.fromCharCode(charCode)));
  7. };
  8. function ResetPage(){
  9. SetValueToTextBox("txtUserID","");
  10. SetValueToTextBox("txtPassword","");
  11. return false;
  12. };
  13. </clientscripts>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement