I want to be able to see the 'displayrmuform' when rmuboolean and effectivedate (right after inputting date) is not null
<p>Here's the code:<br />
This function call 'displayRmuForm' after the dates are calculated from effectivedate.
IT'S NOT WORKING :(</p>

<pre><code>var displayRmuForm = function() {
    var txtEffectiveDate= $get('ctl00_ContentPlaceHolder1_DetailsView1_txtEffectiveDate');

    if (!rmuVisible &amp;&amp; txtEffectiveDate.value.length &gt; 0 ) {
        $(".container").show(250);

    } else { 
        $(".container").hide(250); 
    }
    rmuVisible = !rmuVisible;
}


var effectiveDate_blur = function(e) {
    var effectiveDate = null;
    if (this.value.length &gt; 0) {
        effectiveDate = new Date(eval('"' + this.value + '"'));
        setRmuDates(effectiveDate);
        displayRmuForm();
    }
}
</code></pre>
