Nandagiri Akhilesh Nandagiri Akhilesh - 5 months ago 6x
HTML Question

Calling onmouseover function multiple times

I have multiple div's and I have a unique code for each div and whenever a user comes across a specific div I want only that div to be counted.

My problem is if I use onmouseover-html then the function which is triggered is running multiple times.

There are posts which suggest using mouseenter-jquery thing but If I use mouseenter-jquery I don't know how to get the unique code of div's.

I tried onmouseover and server got too busy and failed.

var sample = $("#sample input.sam").val();


Try this