I have a div that, when hovered is supposed to transform another div into a jquery ui dialog.
<a href="#"><div class="btn button" id="btn button" value="">Click here for a dialog!</></a><br><span class="tooltip">rgba(66, 222, 57, .8);</span>
<div id="are-you-sure" title="Dialog">Here it is!<br><br></div>
<script>
$('#btn').mouseover(function(){
$('#are-you-sure').dialog();
});
</script>
I have all of the necessary stylesheets and scripts linked to my page, but the dialog still doesn't work. Any ideas?