onchange = "$_SESSION['Alarm'] = getelementbyid('alarmReport').value ;"

From: Date: Tue, 26 Aug 2003 05:50:28 +0000
Subject: onchange = "$_SESSION['Alarm'] = getelementbyid('alarmReport').value ;"
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-160723@lists.php.net to get a copy of this message
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 > <option value='1 day'>1 day </option> <option value='2 days'>2 days </option> <option value='7 days'>7 days </option> <option value='1 month'>1 month </option> <option value='1 year'>1 year </option> </Select> Best Regards, Mrunal

« previous php.general (#160723) next »