Title: Message

Hi friend,
  could u plz. Tell me how to display the slected option value in alert box?

Code I wrote is like this.. But I am getting NULL.. Any help would be appreciable..



<script language="Javascript">

function check()
        var a;
        alert(document.babai.bongu.value); // Is it correct??
        return true;



<form name="babai">

<select name="bongu">
        <option value="11">11</optiuon>
        <option value="12">12</optiuon>
        <option value="13">13</optiuon>

<input type="submit" value="check" >

Thanks in advance


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to