title: Pass javascript var on blade syntax
body: <p>I have a problem in passing vars into blade syntax with laravel, this is the js code</p>
  
  <pre><code>var e = document.getElementById("select-city");
  var idCity = e.options[e.selectedIndex].value;
  var map = L.map('map').setView([{{ $region-&gt;cities-&gt;find(idCity)-&gt;lat }}, 10.2941], 15);
  </code></pre>
  
  <p>so i want to pass <strong>idCity</strong> js var as a param for <strong>find()</strong> method.</p>