I have spring mvc based java web app. From my server i am sending a array list of strings.
In table i am reading it into data attribute.
something like
<td id="context"class="hidden" data-contexts='${result.getContext()}'></td>
when i hover on each row i want to show the value of data attribute.
http://jsfiddle.net/3WgTY/ ( expected behaviour)
Now the problem is in debug mode i see the table is like this.
http://jsfiddle.net/4DMqr/ ( current behaviour)
so jquery.data() is not working properly.
I dont know why data-context has got double quotes even though in html i am using single quote. can some one tell how to fix it.
.livewas removed in jQuery 1.9, you should stop using it.