jQWidgets Forums

jQuery UI Widgets Forums General Discussions Rendering HTML page

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Rendering HTML page #32877

    mallepaddi
    Participant

    Hi

    We have placed lot of input elements in a HTML page (like … jqxCombobox / Buttons etc)

    $(document).ready(function() {
    // rendering elements here
    }

    what happens : Page not rendering at same time, first appearing labels / static text and then loading all elements placed under …$(document).ready(function() { }

    How do we make page to be rendered constantly …

    Thanks

    Rendering HTML page #32879

    Peter Stoev
    Keymaster

    Hi mallepaddi,

    You can learn when document.ready is exactly called from the jQuery’s documentation – http://api.jquery.com/ready.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Rendering HTML page #32882

    mallepaddi
    Participant

    Hi

    Did like below ….

    …………….

    $(document).ready(function() {
    $(‘#main’).css(‘display’, ‘block’);
    }

    Thanks

    Rendering HTML page #32883

    Peter Stoev
    Keymaster

    Hi mallepaddi,

    It would be probably better if you use “visibility” instead of “display” as it would not affect your page’s layout.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.