I have a circle
tag HTML5.
When i add a tag title
and hover it, it show title
.
But, i add tag title
by jquery, it not show title
.
This is my code :
<circle class="visible" style="fill: blue" cx="900" cy="350" r="6">
<!--<title>DeviceB|2015/09/01 24:27</title> ( When i add title by jquery and it show title)-->
</circle>
<script type="text/javascript">
$(document).ready(function () {
$('circle').click(function (e) {
$(this).append('<title>DeviceB|2015/09/01 24:27</title>');
});
});
</script>