If value of form field is less than variable show alert with info
<p>How to do something like this: if value of this form field: 
<code>$('#id_erinnerung_am')</code></p>

<p>is &lt; <code>enddate</code> ->show <code>alert("Wrong");</code></p>

<p>Java script code:</p>

<pre><code>$(document).ready(function(){
    $('#id_laufzeit_bis').datepicker().on('changeDate', recalculate_deadline);
    $('#id_kuendigungsfrist').change(recalculate_deadline);
    $('#id_kuendigungsfrist_type').change(recalculate_deadline);

    $('#id_kuendigung_moeglichbis').change(check_reminder_date);
    $('#id_erinnerung_am').datepicker('hide').on(check_reminder_date);

});
</code></pre>

<p>Full code: <a href="http://tnij.com/u50dt" rel="nofollow">http://tnij.com/u50dt</a></p>
