does any one know how to check if the called ui (custom) has also options inputed or using the defaults?
for example:
$('#selector').myUI();//does not have options.
$('#selector').myUI({option:'foo',{op:'bar'}});//ui has options.
$('#selector').myUI('value');//ui has options.
so if i was on:
(function($) {
$.widget("ui.myUI", {
options = this.options;
//check if options have been entered or the default values have been used?
})
});
Hope that i am not 2 confusing :)
thnks