var widget = $( "#accordion" ).accordion( "widget" );
This method returns a jQuery object containing the accordion.