The examples and pasted snippets are way too complex to get my head around--16 files in 5 folders. Maybe if you simplified it to one or two files with everything in it, people here might have a better chance understanding the problem. you could also try irc for some quicker guidance @ #jQuery on irc.freenode.org
-- Aleem On Wed, Feb 18, 2009 at 10:20 PM, m.ugues <m.ug...@gmail.com> wrote: > > The problem is that I can access any element from the iframe to the > parent iframe (even the tabs). > I can hide tabs div, I can show it, but when i call specific > properties on tabs element something 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 <ale...@gmail.com> 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 new >> properties (prevObject, context) but it would be an unreliable to >> check against those properties as other objects may add similar >> properties. >> >> If you are assigning to $tabs when calling tabs() why would you need >> to check it again? Calling tabs() again should not be an issue or you >> could work around it by setting a flag.