I am using double click event on a <span></span> to toggle visibility of control in my MVC application.
<span ondblclick="myFunction()">m.Value</span>
where m is my model.
In the above code, span content is m.Value, which can be empty.
When m.Value is empty, ondblclick() event is not fired. Is there any workaround for this.?