<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: onclick</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>onClick event on &lt;option&gt; does not fire in Internet Explorer</title>
        <link>http://www.posteet.com/view/761</link>
        <description>
        <![CDATA[<pre>Remove the events from the options, use an event directly on the select instead.

function myfunc(value) {
  alert(value);
}
...
&lt;select onchange=&quot;myfunc(this.options[this.selectedIndex].value)&quot;&gt;
  &lt;option value=&quot;1&quot;&gt;Item1&lt;/option&gt;
  &lt;option  value=&quot;2&quot;&gt;Item2&lt;/option&gt;
&lt;/select&gt;</pre> <a href="http://www.posteet.com/tags/ie">[ie]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/onclick">[onclick]</a>  <a href="http://www.posteet.com/tags/select">[select]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Fri, 15 Feb 2008 09:16:07 +0000</pubDate>

            <category>ie</category>
            <category>javascript</category>
            <category>onclick</category>
            <category>select</category>
    
    </item>


</channel>
</rss>
