title: How to pass jquery varaible to php function
body: <pre><code>$('#to').focusout(function(){
   var dd = $("#from").val();            
   $("#con_from").val('&lt;?php echo convert_to_db_format_dateonly('dd-mm-yy');   ?&gt;');
  });
  </code></pre>
  
  <p>I want to pass <code>dd</code> variable to my <code>convert_to_db_format_dateonly</code> function</p>