title: jquery plugin firing multiple times
body: <p>I have a plugin that compares 2 fields in a form and makes alerts depending on the results.
  it works fine, except for when I have multiple forms.  however many forms I have on the page, the plugin runs that same number of times.  Is this a namespacing issue?</p>
  
  <pre><code>$(document).ready(function() {
    (function( $ ){
      $.fn.totalPressedQuantityCheck = function(){
        var form = $(this).parents('form');
        var total_pressed_field = form.find('input[id*="total_pressed"]');
        var variation_quantity_field = form.find('input[id*="quantity"]');
  
        var total_pressed_amount = parseInt(total_pressed_field.val());
        var variation_quantity_amount = parseInt(variation_quantity_field.val());
  
        if ( !isNaN(total_pressed_amount) &amp;&amp; !isNaN(variation_quantity_amount) ){
  
          if ( total_pressed_amount &lt; variation_quantity_amount ){
            alert("PROBLEM");
          }
        }
      }
    })( jQuery );
  
    $('input[id*="total_pressed"]').live('blur', function(){
      $(this).totalPressedQuantityCheck();
    });
    $('input[id*="quantity"]').live('blur', function(){
      $(this).totalPressedQuantityCheck();
    });
  </code></pre>
  
  <p><strong>FIX</strong>
  one of those things... my js ended up in my loop and was getting rendered in the HTML multiple times. Thanks for the jsfiddle site.  I was able to easily distill my code down and narrow down the problem with it.  I wish I knew about this site before!</p>