Opened 10 years ago

Closed 10 years ago

#9550 closed feature (wontfix)

string evaluation for active option

Reported by: AthosXtreme Owned by:
Priority: minor Milestone: none
Component: ui.accordion Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

tabs does support string for index parameter in active option. why accordion does not?
e.g.:

$(".tabs").tabs("option", "active", "2"); //this works
$(".accordion").accordion("option", "active", "2"); //this doesn't work

_findActive function requires number type, can it be improved?

Change History (1)

comment:1 Changed 10 years ago by Scott González

Resolution: wontfix
Status: newclosed

The docs are pretty clear that you shouldn't be using a string for either one. When a number is expected, you should be providing a number, not a string.

Note: See TracTickets for help on using tickets.