drag drop with mysql database
I'm working on drag and drop and store id number in database, i just finished that and works great but the problem is that is NOT WORKING IN IE 8 or 9.
The problem is that in IE is not allow me to drag or move around that the problem that i can't figure out how to solve this, and rest of browser are works fine.
here is jquery code
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- function slideout(){
- setTimeout(function(){
- $("#response").slideUp("slow", function () {
- });
-
- }, 2000);}
-
- $("#response").hide();
- $(function() {
- $("#list ul").sortable({ opacity: 0.8, cursor: 'move', update: function() {
-
- var order = $(this).sortable("serialize") + '&update=update';
- $.post("updateList.php", order, function(theResponse){
- $("#response").html(theResponse);
- $("#response").slideDown('slow');
- slideout();
- });
- }
- });
- });
- });
- </script>
and body code
- <body>
- <div id="response"> </div>
- <ul>
- <?php
- include("connect.php");
- $query = "SELECT id, text FROM dragdrop ORDER BY listorder ASC";
- $result = mysql_query($query);
- while($row = mysql_fetch_array($result, MYSQL_ASSOC))
- {
-
- $id = stripslashes($row['id']);
- $text = stripslashes($row['text']);
-
- ?>
- <li id="arrayorder_<?php echo $id ?>"><?php echo $id?> <?php echo $text; ?>
- <div class="clear"></div>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
doe any one can help me how to solve this to make work in IE!
please help thanks.
AM