DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41491>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41491


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From [EMAIL PROTECTED]  2007-01-29 20:27 -------
Javascript is a purely client side technology so I would be very surprised if
this was a Tomcat issue. To be sure, i tried the following which works as
expected, without any error.

<html>
  <head>
    <title>Bug 41491</title>
    <script type="text/javascript">
      function testEnable() {
       
if(document.form1.combobox1.options[document.form1.combobox1.selectedIndex].value=='Three')
{
          alert("Add extra text")
          document.form1.text1.disabled=false
          document.form1.text1.classname=''
        }
      }
    </script>
  </head>
  <body>
    <form name="form1">
      <select name="combobox1" onchange="testEnable()">
        <option value="One">One</option>
        <option value="Two">Two</option>
        <option value="Three">Three</option>
      </select>
      <br />
      <input type="text" name="text1" disabled="disabled" />
    </form>
  </body>
</html>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to