How to highlight a content located at specific location ?
I want to highlight a contents by location.
for example I have a location value (x,y)=(0,312).Then how to highlight that contents by using js/jquery
How to highlight a content located at specific location ?
I want to highlight a contents by location.
for example I have a location value (x,y)=(0,312).Then how to highlight that contents by using js/jquery
<span id="myspan">Lorem Ipsum is simply dummy text</span>
$(document).ready(function() {
$('#myspan').click(function() {
$(this).append('<span class="myclass">You clicked me</span>');
});
});
Wrap every word in a <span> and bind "click" event to every span.