Ticket #4276 (closed bug: notabug)

Opened 4 years ago

Last modified 7 months ago

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:
Blocking: Blocked by:

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>

Change History

comment:1 Changed 4 years ago by paul

  • Status changed from new to closed
  • Resolution set to invalid

jQuery 1.5.3 cannot be used together with jQuery 1.3+. Please use jQuery UI 1.7 instead.

comment:2 Changed 7 months ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.