title: How to Apply Negative Margin or Class in Jquery error placement?
body: <pre><code>    $("#frmNewList").validate({
      rules:{
      price:{
                          required: true, 
                          number: true
                            }
            },
      messages: {
      price:{ 
                          required: "Please Enter The Price",
                          number: "Please Enter the amount only"
                           }
                },
      errorPlacement:function(f,g){
               if(g.attr('id')=='price')
                {
                  f.addClass('margin');
                  f.css({'margin-left':'-10px !important'});
               }
  
      });
  &lt;style&gt;
  .margin{margin-left:-10px !important;
  }
  &lt;/style&gt;
  </code></pre>
  
  <p>Here i have two questions:
      1) I want to apply -10px margin shown in code but it is not working.
      2) I add margin class shown in code.
     Both are added individually. But both are not working.</p>