getting .append values from the DOM
<p>In the function below, I'm finding the max count of an ID then adding 1. Everything works, except the new values being added to the DOM aren't seen, therefore they are not incremented upon calling the function a second time. </p>

<p>Am I not adding the new values to the DOM correctly?</p>

<pre><code>function addEdu(){
    var currentCount = $('input.uniqueId').val();
    currentCount = Math.max(currentCount);
    var nextCount = parseInt(currentCount) + 1;
    var newEdu = "&lt;input type='hidden' name='fieldId[]' value='" + nextCount + "' class='uniqueId' /&gt;&lt;p class='dual'&gt;&lt;input type='text' name='educationTitle[]' "; //Shortened for clarity
    $("#eduHistory").append(newEdu); 
    $( ".datepicker" ).datepicker();
}
</code></pre>
