jQWidgets Forums

jQuery UI Widgets Forums Navigation Tabs Tabs contains Tab

This topic contains 1 reply, has 1 voice, and was last updated by  panky 11 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Tabs contains Tab #30002

    panky
    Participant

    Hi

    I have Main Tab control and it has “selected” event attached to it.

    In first Tab Content I have another Tab control with 2 Tabs. This tab has “initTabContent” attached to it.

    When I client on second tab [tab index 1], it first fires selected event of parent tab and then initTabContent event [event tunneling ], I don’t want that. I have return false in both attached methods.

    How do avoid event tunneling ?

    -Panky

     

    Tabs contains Tab #30005

    panky
    Participant

    I have to put event.target.id == ‘parentGridID’ to avoid executing code.

    -Panky

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.