Search and Top Navigation
#4276 closed bug (notabug)
Opened March 05, 2009 09:13AM UTC
Closed March 16, 2009 08:51AM UTC
Last modified October 11, 2012 09:15PM UTC
draggable events not working with 1.3.2 version
Reported by: | valugi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.draggable | Version: | 1.5.2 |
Keywords: | draggable events | Cc: | |
Blocked by: | Blocking: |
Description
This code works with 1.2.6 version but not on 1.3.2. I saw that the example in the demo uses 1.3.1. The UI library is the same on both tries 1.5.3. which is latest stable. No errors are reported in the firebug console.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>test</title> <script src="js/jquery-1.2.6.min.js" type="text/javascript" ></script> <script src="js/jquery-ui-personalized-1.5.3.js" type="text/javascript" ></script> <script type="text/javascript"> $(document).ready( function(){ $("#test").draggable( { start: function( ev, ui){ $("#response").html("start"); }, stop: function( ev, ui){ $("#response").html("stop"); } } ); }); </script> </head> <style> #test{ border: 1px solid red; width:200px; height:200px} </style> <body> <div id="test"> some text </div> <div id="response"></div> </body> </html>
jQuery 1.5.3 cannot be used together with jQuery 1.3+. Please use jQuery UI 1.7 instead.