title: Passing JavaScript Variables from a CakePHP View to Controller
body: <p>I'm new to CakePHP and plan on developing an application with it. I was wondering if there is a way to pass JavaScript variables created in a View to it's corresponding Controller?</p>
  
  <p>For example, if I generated two coordinate variables using the HTML5 Geolocation JavaScript API in a View, how could I pass these JS variables to a corresponding Controller in order to use them to query a database in a function?</p>
  
  <p>Thanks for the help!</p>