Here's a part of my aspx page:
<span id="drag">This can be dragged </span>
<input id="save" type="button" value="Save" />
<div id="dialog">
</div>
<script src="Scripts/jquery.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui-1.9.0.custom.js" type="text/javascript"></script>
<script src="Scripts/ui.js" type="text/javascript"></script>
And here's my ui.js file:
$('#save').click(function ()
{
$('#dialog').dialog();
});
$(document).ready(function ()
{
$('#drag').draggable();
});
And I've linked the css file in my masterpage :
<link rel="stylesheet" href="CSS\ui-lightness\jquery-ui-1.8.24.custom.css">
If I try this in a plain html file I get both draggable and dialog functionalities to work but neither function works when I try it in my aspx page.Is there a special consideration with ASP.NET?