I made this as simple as I could.  I get an array of empty strings
sequence.  The alert comes up ''. Is just me?  I can't get setSequence
to work either it clears my ul.  This is with 1.6.5 and 1.7.0 beta 2.
In the Firefox debugger it shows an arrary of three items returned, but
the items are three empty strings.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script src="javascript/prototype.js" type="text/javascript"></script>
<script src="javascript/scriptaculous.js"
type="text/javascript"></script>
</head>
<body>
<ul id="list1" >
    <li id="item1" >Item 1</li>
  <li id="item2" >Item 2</li>
  <li id="item3" >Item 3</li>
</ul>
<script type="text/javascript">
// <![CDATA[

 Sortable.create('list1');

  function sortList(){
      var seq = Sortable.sequence('list1');
      alert(seq);
  }

// ]]>
</script>

<input value="ClickMe" onClick="sortList()" type="button"/>
</body>
</html>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to