title: jQuery: Date Range Picker: prepend date in element
body: <p>So i have this picker:</p>
  
  <p><a href="http://www.filamentgroup.com/lab/date_range_picker_using_jquery_ui_16_and_jquery_ui_css_framework/" rel="nofollow">http://www.filamentgroup.com/lab/date_range_picker_using_jquery_ui_16_and_jquery_ui_css_framework/</a></p>
  
  <p>Now, how can I prepend the date/daterange you choose into div element #viewCalender, when you chose a date? 
  I tried do:</p>
  
  <pre><code>        &lt;script type="text/javascript"&gt; 
              $(function(){
                    $('#rangeA').daterangepicker({
                    arrows:true,
                    onChange: function(){
  $('#calenderView').prepend('test');
  }
                    }); 
               });
          &lt;/script&gt;
  </code></pre>
  
  <p>But It prepends "test" twice into #calenderView, even tried with just alerts, and i get two alerts, after i picked a date, which I do not understand why??? And how can i prepend the date/daterange into it?</p>