In a java function I want to pass a variable over to $_SESSION. I have tried to do this like the following ... $_SESSION['ID'] = document.getElementById('lbxDates').value;
This does not work for me, so if anyone knows how i should approach this in a proper manner any help would be greatly appreciated!
<script type="text/javascript">
function GetID(){$_SESSION['ID']=document.getElementById('lbxDates').value;}
</script>