hi,
I have a SELECT in which I would like to store the variable value in the
Session variable of onchange event of the SELECT. I am stuck up with the
syntax could u please help.
Select name=AlarmReport id = AlarmReport **I want to do this*
onchange = $_SESSION['Alarm'] =
getelementbyid('AlarmReport').value will not get the value of the
selected option. Use
this.options[this.selectedIndex].value
Session var can be set only on the server, you must post the form to get
the value or use some javascript to do it, eg:
img = new Image();
2 matches
Mail list logo