Search and Top Navigation
#9550 closed feature (wontfix)
Opened September 11, 2013 03:50PM UTC
Closed September 11, 2013 04:07PM UTC
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?
Attachments (0)
Change History (1)
Changed September 11, 2013 04:07PM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
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.