title: How to pass parameter to function using in addEventListener?
body: <p>In the traditional way to add event listener:</p>
  <pre><code>function getComboA(sel) {
      var value = sel.options[sel.selectedIndex].value;  
  }
  
  &lt;select id=&quot;comboA&quot; onchange=&quot;getComboA(this)&quot;&gt;
  &lt;option value=&quot;&quot;&gt;Select combo&lt;/option&gt;
  &lt;option value=&quot;Value1&quot;&gt;Text1&lt;/option&gt;
  &lt;option value=&quot;Value2&quot;&gt;Text2&lt;/option&gt;
  &lt;option value=&quot;Value3&quot;&gt;Text3&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  <p>But I wanted to adapt to the <code>addEventListener</code> way:</p>
  <pre><code>productLineSelect.addEventListener('change',getSelection(this),false);
  
  function getSelection(sel){
      var value = sel.options[sel.selectedIndex].value;
      alert(value);
  }
  </code></pre>
  <p>It doesn't work because I can't pass any parameter in <code>getSelection()</code> as the second parameter in <code>addEventListener</code> method? As far as I know I can only use the function name without parenthesises.</p>
  <p>Any idea?</p>
  <p>BTW, please look at <a href="https://stackoverflow.com/q/12015540/456218">my previous question</a> about <code>console.log</code> doesn't work in Safari 6.0 Developer Inspector, I can't write any output in the console, which is frustrating.</p>