Here's a part of my aspx page:\[code\]<span id="drag">This can be dragged </span><input id="save" type="button" value="http://stackoverflow.com/questions/12796771/Save" /><div id="dialog"></div><script src="http://stackoverflow.com/questions/12796771/Scripts/jquery.js" type="text/javascript"></script><script src="http://stackoverflow.com/questions/12796771/Scripts/jquery-ui-1.9.0.custom.js" type="text/javascript"></script><script src="http://stackoverflow.com/questions/12796771/Scripts/ui.js" type="text/javascript"></script>\[/code\]And here's my ui.js file:\[code\]$('#save').click(function (){ $('#dialog').dialog();});$(document).ready(function (){ $('#drag').draggable();});\[/code\]And I've linked the css file in my masterpage :\[code\] <link rel="stylesheet" href="http://stackoverflow.com/questions/12796771/CSS/ui-lightness/jquery-ui-1.8.24.custom.css">\[/code\]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?