Currently @
Home>/blog.html>Code is poetry>jQuery Validate: How-to Show Alert Box(s) with Regular Validation & Input Focus.
About Manoj Sachwani
Manoj Sachwani runs ManojSachwani.com, publishes content for the blog here at ManojSachwani.com (formerly: indefiniteloop.com/blog/), sends out a couple of newsletters, does a couple of podcasts, tries to mentor and teach developers, provides services that aim to help startups & founders, along with running a shop over at OddCuriosity.com.
Formerly known as 'the indefiniteloop blog', the blog here is a continuation of the topics, categories and content that Manoj Sachwani has been writing and publishing online since 2007.
Manoj Sachwani helps startups, solopreneurs, managers, designers, ceos, entrepreneurs, founders, artists, and creators like you to achieve their goals, build processes, validate ideas, and improve business models. He is a startup and small business consultant from India, with 20+ years of experience.
The shop over at @ OddCuriosity™.com sells custom made, one of a kind, limited editions of apparels, home furnishings and accessories that are made of curiosity. The products are designed and sold under the brand of Odd Curiosity™ by Manoj Sachwani and Appathethic Studios.
Subscribe to the eccentric, irratic Indefiniteloop newslettter series. I hate spam as much as you do. I, also, value your privacy as much as I do mine. So, rest assured that you will only gain valuable content from subscribing here!
Listen to the 1x1 Show — a solo podcast that goes over topics like freelancing, full-stack development, designing, content creation, psychology, philosophy, art, and others.
People Talk Series is a podcast where Manoj Sachwani talks to people from all walks of life. Listen in to candid conversations with people who inspire, evoke curiosity, and make you take action.
varvalidator=//replace #myformid with the id attribute of your <form>
jQuery("#myformid").validate({onfocusout:false,onkeyup:true,onclick:true,focusInvalid:true,rules:{//replace with your fields
field-id:"required"},messages:{//replace with your error message
field-id:"This field is required"},errorPlacement:function(error,element){error.insertAfter(element);alert(error.html());},showErrors:function(errorMap,errorList){this.defaultShowErrors();}});
Manoj Sachwani is a freelancer, full-stack developer, designer and creator with over 20+ years of experience. He likes writing poetry, code, haiku, and articles here on this blog.