I have a php variable:
$name_of_current_page
which I have available in my view, and I want to make the value available to jquery. Is the be
First at all, that you ask, is a normal way on fill client side code, but this one will be load at the page load, if you want to run it on live once the page is loaded, you must use ajax, cause is the way on how you will comunicate with the server side scripts, is no possible jquery or javascript load the php vars on live once the page have been loaded