title: How to pass PHP variable value to jquery function?
body: <p>i have this JQuery Script in Wordpress /js folder and i need to change some values that i store in the Database.</p>
  
  <pre><code>$( "#slider-range2" ).slider({
      range: true,
      min: 18,
      max: 90,
      values: [ 35, 50 ],
      slide: function( event, ui ) {
          $( "#amount2" ).val( ui.values[ 0 ] + "-" + ui.values[ 1 ] );
      }
  });
  $( "#amount2" ).val( $( "#slider-range2" ).slider( "values", 0 ) + "-" + $( "#slider-range2" ).slider( "values", 1 ) );
  </code></pre>
  
  <p>The Jquery documentation is not clear to me.
  Values that i need to change are [35 , 50]. These values ​​are stored in the database.
  How can i do this from the js file? How can i pass a PHP variable value to jquery function?</p>
  
  <p>Thanks.</p>