jQuery

/**  * Reset form data  */ $.fn.reset = function () {  $(this).each (function() {    this.reset();
function dotrim(strComp) {     return strComp.replace(/^\s+|\s+$/g, ''); }
function IsAlphaNumeric(str) {     var filter = /^[0-9a-zA-Z_-]+$/;     return filter.test(str); }
function IsValidEmail(email) {     var filter = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
function IsValidURL(url) {