hing goes wrong.
>
> I made a simple test case explained here.
>
> http://groups.google.com/group/jquery-en/browse_thread/thread/48a38949e6751e4a
>
> Unfortunately none answered me. :(
>
> Kind regards
>
> Massimo
>
> On Feb 18, 5:03 pm, Aleem B wrote:
> I got this problem
>
> var $tabs = parent.$('#operativitaframe').contents().find
> ('#tabsContainer').tabs();
> alert($tabs);
>
> This prints [object Object];
> how can I know if this is the tabs object instead of something else?
$tabs is actually a jQuery object. tabs() may add some additional
> I know they are there and I've used added functions to save on the
> code size, which makes a big difference when used a lot.
It doesn't make any difference save for a few characters.
On Wed, Feb 18, 2009 at 4:47 PM, crungmun...@googlemail.com
wrote:
>
> Hi,
>
> However, I would like to add some extra
> functionality to the plugin which is specific to my application. In
> this circumstance is it better to write the functionality into the
> plugin directly or 'extend' it someho
I created a widget and figured that it can only be called once per element:
$.widget('ui.mywidget', {
_init: function() {
alert('hello');
}
}
$.widget("ui.mywidget", mywidget);
$("#foo").mywidget(); // alerts hello
$("#foo").mywidget(); // doesn't do anything
now I understand
5 matches
Mail list logo