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? If i cycle on it and print all his content I got this length, 0, prevObject, init, jquery, size, get, pushStack, setArray, each, index, attr, css, text, wrapAll, wrapInner, wrap, append, prepend, before, after, end, find, clone, filter, not, add, is, hasClass, val, html, replaceWith, eq, slice, map, andSelf, data, removeData, domManip, extend, parent, parents, next, prev, nextAll, prevAll, siblings, children, contents, appendTo, prependTo, insertBefore, insertAfter, replaceAll, removeAttr, addClass, removeClass, toggleClass, remove, empty, height, width, bind, one, unbind, trigger, triggerHandler, toggle, hover, ready, blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, change, select, submit, keydown, keypress, keyup, error, _load, serialize, serializeArray, ajaxStart, ajaxStop, ajaxComplete, ajaxError, ajaxSuccess, ajaxSend, show, hide, _toggle, slideDown, slideUp, slideToggle, fadeIn, fadeOut, fadeTo, animate, queue, stop, dequeue, offset, position, offsetParent, scrollLeft, scrollTop, innerHeight, outerHeight, innerWidth, outerWidth, tabs, triggerTab, disableTab, enableTab, activeTab, bgiframe, bgIframe, dialog, droppable, draggable, resizable, var selected = $tabs.data('selected.tabs'); alert(selected); This prints out "undefined" var number = $tabs.tabs('length'); alert(number); This prints out [object Object] If I cycle on it I got the same output as above... I'm going crazy with this problem to access a tab in an iframe from another iframe.