title: how to use onclick event in html <select>
body: <p>I have a video changer on my blog that can change videos on youtube using onclick. But that does't work using the select tag in Safari &amp; Chrome. </p>
  
  <p>I've read a bunch of other questions on how to do this but am having no luck in converting this to work using onchange with the select tag. </p>
  
  <p>I am new to javascript. </p>
  
  <p>BTW, I have not gotten this to work when plugged into jsfiddle, pastebin, or any other service. </p>
  
  <p>But it does work if your paste it into <a href="http://htmledit.squarefree.com" rel="nofollow">http://htmledit.squarefree.com</a> Try clicking on the different movie names to see what I mean. </p>
  
  <p>But basically, I need this to work with the select tag, instead of span tag.</p>
  
  <pre><code>&lt;div id='Trailer5' style='display:none'&gt;&lt;iframe width='700' height='430' src='http://www.youtube-nocookie.com/embed/vEO9iLWBWvw?theme=light&amp;amp;version=3&amp;amp;rel=0&amp;amp;ps=blogger&amp;amp;iv_load_policy=3&amp;amp;showinfo=0' frameborder='0' allowfullscreen&gt;&lt;/iframe&gt;&lt;h3&gt;July 12th, 2013&lt;/h3&gt;&lt;/div&gt;
  &lt;div id='Trailer10' style='display:none'&gt;&lt;iframe width='700' height='430' src='http://www.youtube-nocookie.com/embed/Fkbm8a40TC4?theme=light&amp;amp;version=3&amp;amp;rel=0&amp;amp;ps=blogger&amp;amp;iv_load_policy=3&amp;amp;showinfo=0' frameborder='0' allowfullscreen&gt;&lt;/iframe&gt;&lt;h3&gt;June 20th, 2014&lt;/h3&gt;&lt;/div&gt;
  &lt;span onclick='return playVideo("Trailer5","videoPlayback")'&gt;Terms and Conditions may Apply&lt;/span&gt;&lt;br/&gt;
  &lt;span onclick='return playVideo("Trailer10","videoPlayback")'&gt;How to Train your Dragon 2&lt;/span&gt;
  &lt;div id='videoPlayback'&gt;&lt;iframe width='700' height='430' src='http://www.youtube-nocookie.com/embed/Fkbm8a40TC4?theme=light&amp;amp;version=3&amp;amp;rel=0&amp;amp;ps=blogger&amp;amp;iv_load_policy=3&amp;amp;showinfo=0' frameborder='0' allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/br&gt;&lt;h3&gt;Movie "in Theaters" Date Shown Here&lt;/h3&gt;&lt;/div&gt;
  &lt;script type='text/javascript'&gt;function playVideo(a,b){"string"==typeof a&amp;&amp;(a=document.getElementById(a));"string"==typeof b&amp;&amp;(b=document.getElementById(b));b.innerHTML=a.innerHTML;return!1}&lt;/script&gt;&lt;/div&gt;
  </code></pre>