[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

i want to use javascript variable in my php code.look on that code.

 <script>

   function ch(list)
    {
      var l2;
      l2=list.option.text;
      //i want to send the value of l2 in php file/code.
   }
  </script>

<html>
<select name="dd" onChange="ch(this);">
<option>dd</option>
<option>www</option>
<option>ww</option>
<option>dsfd</option>
</select>
</html>

pls send me solution as well as possible.

dharm
"Richie" <dugganr@xxxxxxxxxxxxxxxxx>

_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or Abroad
http://monsterindia.rediff.com/jobs



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux