Hello. I have this code..
<input type="hidden" id='sessio' value=<?php echo $_SESSION['iden']; ?>>
<script type="text/javascript">
var x = document.getElementById('sessio').value;
window.location="index.php?link=2&var=" + x;
</script>
It works perfectly fine in IE but it won't work in firefox. Both link and var does not appear in the URL when I get to index.php.
Can anyone explain why? How is it not working in firefox?
Please tell me a way to make this work in firefox.