I know you can ignore the title attributes as error messages for a form with the following code:
$("#myForm").validate({
ignoreTitle:true
});
However, i’d like to know if this can be done for a single field. The reason I’m asking is because I’d like to have one of my fields return a message containing HTML and not just a string message.
Is there any way to conditionally put HTML within title attributes?
No, there is not. But you can designate custom messages within the
messagesoption for that one field instead.(Yes, it looks like HTML is allowed)
Working Demo: http://jsfiddle.net/4KGjD/
See documentation.