My code is
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.0.min.js"></script>
<script type="text/javascript" src="../../_js/jquery.tooltipster.min.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
<script>
$(document).ready(function () {
$('#HHH').tooltipster({
content: $('#BTE' )
})
})
</script>
My div is <div id="BTE">ABCDEFG</div>
and <div id="HHH"></DIV>
I want to hide my "BTE" initially and when hover AROUND "hhh", the "bte" should appear. I wonder how to achieve that? I had tried display:none
but it doesn't work.