Home › Forums › Back End › Edit XML with PHP › Re: Edit XML with PHP
June 23, 2010 at 12:47 pm
#78581
Historical Forums User
Participant
ok, now I would like to make the boxes sortable with jquery. this is what ive got but it’s not working. whats wrong here?
Code:
$(function() {
$( “.postbox” ).sortable({ handle: ‘h3.hndle’ });
var handle = $( “.selector” ).sortable( “option”, “handle” );
$( “.postbox” ).sortable( “option”, “handle”, ‘h3.hndle’ );
$(“.postbox”).disableSelection();
});
$( “.postbox” ).sortable({ handle: ‘h3.hndle’ });
var handle = $( “.selector” ).sortable( “option”, “handle” );
$( “.postbox” ).sortable( “option”, “handle”, ‘h3.hndle’ );
$(“.postbox”).disableSelection();
});
It’s even still selectable…