title: Can't set field after toggle
body: <p>trying to set ticks to this field but it only cuases the toggle to collapse on every click no matter what.  If I remove the attempt to set the field value, toggle works fine.</p>
  
  <pre><code>$('#preContent').toggle();
  if ($("#txtreference")) { 
      $("#txtreference").val(Date.getTime());
  }
  </code></pre>