How to change finger pointer to crosshair?
<pre><code>var eles = document.querySelectorAll('li.level a'),
    i;

for (i = 0; i &lt; eles.length, i++) {
  eles[i].onclick = function() {
    //...
  };

}
</code></pre>

<p>now, i want to make when the mouse over the a text, i want to change  finger pointer to crosshair.so i make the above code to the following: but it doesn't work.</p>

<pre><code>for (i = 0; i &lt; eles.length, i++) {
      eles[i].onclick = function() {
        //...
      };
eles[i].onmouseover = function(this) {
        this.style.cursor="crosshair";
      };

    }
</code></pre>

<p>the code doesn't work, how to correct it? thank you</p>

<p>if i only want to change it by javascript with the above code, how should i do?</p>
