I have this script that works great at toggling my search filters while on the page. I have a 3 page application that I would like to send this value from one page to another.
If I call my variable "show". How would I grab the value of display and pass it to the next page?
Sorry if this is a beginner question. I pass parms from forms and in the url all over the place. Never done it from a document or script value yet.
Thanks in advance.
<script type="text/javascript">
<!--
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}
If I call my variable "show". How would I grab the value of display and pass it to the next page?
Sorry if this is a beginner question. I pass parms from forms and in the url all over the place. Never done it from a document or script value yet.
Thanks in advance.
<script type="text/javascript">
<!--
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}