Jquery Shortening code
<p>Ive posted a similar question before, yet again i find my self stupidly copy and pasting code.</p>

<p>is there anyway i can combine the following, im sure there is.. Please help.. Im in the learning process.</p>

<p>See i have the follow:</p>

<pre><code>$(document).on('blur', 'input.email', function() {
    validate_Email_Input(this);
});

$(document).on('blur', 'input.id', function() {
    validate_Id_Input(this);
});

$(document).on('blur', 'input.pass', function() {
    validate_Pass_Input(this);
});

$(document).on('blur', 'input.town', function() {
    validate_Town_Input(this);
});

$(document).on('blur', 'input.relation', function() {
    validate_Relation_Input(this);
});

$(document).on('blur', 'input.contact', function() {
    validate_Relation_Input(this);
});
</code></pre>

<p>and for all of those i have separate function, here's an example of one:</p>

<pre><code>function validate_Email_Input(el) {
    var $this = $(el);
    var input_groups = $this.parent();
    var isValid = true;
    $.each(input_groups , function(i){
        var inpg = input_groups[i];
        email_values = $.map($(inpg).children('input'), function(e,i){
            return $(e).val();
        }).join('');
        isValid = isValid &amp;&amp; validate_Email(email_values, input_groups.parent().parent().parent());
    });
    return isValid;
}   
</code></pre>

<p>I really want to learn how to write efficient code, Any Help Greatly apreciated...</p>

<p>I don't know if this helps at all. but what i'm trying to do is validate everything and have messages pop out for each specific field. This is my first really big project in jQuery and I thought i may as well show you all what im working on: <a href="http://jsfiddle.net/dawidvdh/36BLm/" rel="nofollow">http://jsfiddle.net/dawidvdh/36BLm/</a> </p>

<p>sample of a valid ID: 85 0929 5266086</p>
