Reputation: 3716
I've got an asp.net ajax style AccordionPane control that I am trying to get/set based on some user interactions. However it seems not let me do this with javascript:
function navPanelMove() {
var aPane = $get('ctl00_Accordion1_AccordionExtender_ClientState');
openPaneID = aPane.get_SelectedIndex(); // doesn't work
}
Upvotes: 0
Views: 1222
Reputation: 25097
You'll need to use $find('behaviorId')
You want the AjaxControlToolkit.AccordionBehavior object, not the DOM elements
Upvotes: 2