Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery vslidation remove spaces from input

Email: {
    required: {
        depends:function(){
            $(this).val($.trim($(this).val()));
            return true;
        }
    },
    email: true
}
 
PREVIOUS NEXT
Tagged: #jquery #vslidation #remove #spaces #input
ADD COMMENT
Topic
Name
8+5 =