How to access PHP session variables from jQuery function in a .js file? In this code, I want to get \"value\" from a session variable
$(function() { $(\"#
Strangely importing directly from $_SESSION not working but have to do this to make it work :
and in to.js
to.js
$(document).ready(function(){ alert(variableValue); // rest of js file