I was javascript to dynamically add some content, my javascript is like:
document.getElementById("lines").innerHTML += some_of_my_data +"</br>;
How can I create a mouseover event, different on each row?
I was javascript to dynamically add some content, my javascript is like:
document.getElementById("lines").innerHTML += some_of_my_data +"</br>;
How can I create a mouseover event, different on each row?
Please put a little information in the question, otherwise it's close to impossible to answer.
But some notes:
You don't seem to be closing the quotes on your text (after </br>
).
Also </br>
should be <br>
Here I'm just guessing but you're selecting by id and the id is called lines
which suggests many, maybe you're using the id lines
multiple times? That would be incorrect and might be what's not working.
See here how to get element's of the same class.
Also for mouse over events, take a looks at this answer.