popup-alert-window does not pop up

popup-alert-window does not pop up

I want that after the button click a alert window pops up. But when i click on the button nothing happens.

My Code:

<link type="text/css" rel="stylesheet" href="tinymce/js/jquery-ui.css"/>

<script type="text/javascript" src="tinymce/js/jquery-1.8.2.js">

</script> <script type="text/javascript" src="tinymce/js/jquery-ui.js">

</script> <script type="text/javascript">

$(function ()

{ $("#btnSave").click(function ()

{ $("#divpopup").dialog({

title: "abc",

width: 430,

height: 200,

modal: true,

buttons: {

Close:

function () {

$(this).dialog('close');

}

}

});

});

})

</script>