Using the jQuery Validator
        Posted  
        
            by ScG
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ScG
        
        
        
        Published on 2010-05-25T12:15:02Z
        Indexed on 
            2010/05/25
            12:31 UTC
        
        
        Read the original article
        Hit count: 296
        
jQuery
I am using $.validator.addMethod
How can I print the validation message in a control. I have a div id="err" where I want to print the message
Here is what my method looks like
$.validator.addMethod('something', function(value, element) {
            return false;
}, 'I want to display this message in a Div with ID=error')
© Stack Overflow or respective owner