Also you can do it by selecter.
$(".C_Sortable").sortable({items:".ui-state-default"});<ul class="C_Sortable"> <li class="ui-state-default">Sortable Item 1</li> <li class="ui-state-default">Sortable Item 2</li> <li class="ui-state-default">Sortable Item 3</li> <li class="ui-state-default_lock">Locked Item 1</li> <li class="ui-state-default_lock">Locked Item 2</li> </ul> 2009/12/17 MorningZ <[email protected]> > Aggghh.... sometimes i complicate the hell out of everything > > <ul class="C_Sortable"> > <li class="ui-state-default">Sortable Item 1</li> > <li class="ui-state-default">Sortable Item 2</li> > <li class="ui-state-default">Sortable Item 3</li> > </ul> > <ul class="C_Static"> > <li class="ui-state-default">Locked Item 1</li> > <li class="ui-state-default">Locked Item 2</li> > </ul> > > -- > > You received this message because you are subscribed to the Google Groups > "jQuery UI" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<jquery-ui%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "jQuery UI" 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/jquery-ui?hl=en.
