Onclick does not work but onmouseover works!

Onclick does not work but onmouseover works!

Hi;

This is about IE. In Firefox its all good.

I am calling the same function with onclick and it does not work. When I call the same funciton with mouseover it works fine! What am I doing wrong?

Thank you

Does NOT work:








<div class="option" onclick="edit_value('This Opption 2');"> This Option 2 </div>

This works fine:
<div class="option" onmouseover="edit_value('This Opption 2');"> This Option 2 </div>

function edit_value(argument) { $(".behnam").html(argument); }