Fire up ajax request when some inputs has changed
<p>I have the following inputs:</p>

<pre><code> &lt;input class="input-text" type="text" name="nombres" id="nombres" /&gt;
    &lt;input class="input-text" type="text" name="apellidoP" id="apellidoP" /&gt;
    &lt;input class="input-text" type="text" name="apellidoM" id="apellidoM" /&gt;
    &lt;input class="input-text" type="text" name="nacimiento" id="nacimiento" /&gt;
</code></pre>

<p>I want to make an ajax request when the "nombres" and "nacimiento" inputs has changed and are not empty, and when "apellidoP" or "apellidoM" also has changed and are not empty. </p>

<p>How can I do that with jQuery? The only solution I have in mind is to trigger "change" event of every input and check if conditions are met, do you have another solution?</p>

<p>Thanks</p>
