widget option not working

widget option not working


widget option not working.
I have a widget that when interrogated for a value using option
returns a jQuery object instead.
$('#action').action_list( 'option', 'action_id' );
instead of returning a value (0 in this case) returns
[div#action.action_list 0=div#action.action_list length=1
context=document].
Any ideas ?