Protovis Javascript doesn\t work in dropdownlist onchange event
I noticed the following problem. When I remove either block of code, either one works well but when I put them together, only one of it worked.

I am trying to call a method from a dropdownlist using the onchange event but its fails when my code for Protovis/javascript is added.

    <script type="text/javascript">
            function getDate()
            {
                alert("dateValue");
            }
            
        </script>

    <script type="text/javascript+protovis">
      function Colour(color) {
      new pv.Panel()
      .width(12)
      .height(20)
      .anchor("center").add(pv.Dot)
      .strokeStyle(null)
      .fillStyle(color)
      .radius(5)
      .root.render();
       }

    </script>

    <select name="mydropdown" onchange="getDate(this)">
    <option value="None">Select Date</option>
    </select>

I want to get both of them to work properly. Please advise. Thank you all.
Protovis Javascript doesn\t work in dropdownlist onchange event
===

I noticed the following problem. When I remove either block of code, either one works well but when I put them together, only one of it worked.

I am trying to call a method from a dropdownlist using the onchange event but its fails when my code for Protovis/javascript is added.

    <script type="text/javascript">
            function getDate()
            {
                alert("dateValue");
            }
            
        </script>

    <script type="text/javascript+protovis">
      function Colour(color) {
      new pv.Panel()
      .width(12)
      .height(20)
      .anchor("center").add(pv.Dot)
      .strokeStyle(null)
      .fillStyle(color)
      .radius(5)
      .root.render();
       }

    </script>

    <select name="mydropdown" onchange="getDate(this)">
    <option value="None">Select Date</option>
    </select>

I want to get both of them to work properly. Please advise. Thank you all.