How to reference a javascript variable and use it as a query string in the url of Page Include

I have a button on the click of which a javascript snippet runs in which i set a boolean variable. Now i want to pass the boolean variable as a query string to the page include. How to do that.


Is your boolean variable part of a Skuid model?  This would make it very easy to pass into the page include.  You would just set the parameter on the Query String property using Skuid’s merge syntax.  It would look like this->  boolvar={{boolean}}