I want pass the session value from .js files to php files.
$.session.set("myVar", TotalHotels);
Add this coding in js files and try to retrive in php page like this
var myVar= $.session.get('myVar');
But i got TypeError: $.session is undefined