jQWidgets Forums

jQuery UI Widgets Forums General Discussions Navigation Tabs Loading image when tab is selected

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Loading image when tab is selected #46864

    assaf.frank123
    Participant

    Hi,

    I have a tab the is loaded upon select (‘selected’ event) –
    $.get(url, function (data) {
    $(‘#mytab’).html(data);
    });

    The loading of the tab might take a few seconds and would like to have a nice loading indicator showing.

    For some reason – all my attempts to show one by displaying a window before loading the tab contents failed (the window always appeared right before the tab was loaded and not really upon the selection of the tab).

    Is there any solution for this?

    Thanks

    Loading image when tab is selected #47124

    Dimitar
    Participant

    Hello assaf.frank123,

    Please provide us with a larger code sample, which we may test locally to determine the source of the issue. Also, please check out the demo Loading Tab contents with Ajax, which shows how to display a loading image before the tab content is loaded.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.