Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End my div cant load

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #158253
    thekisii
    Participant

    hi am trying to make my div appear after it has loaded my java script function loadPage(){
    $(‘#loading’).show();

    $("#content").load("view.php", function () { //calback function
         $('#table-responsive').hide();
    });
    

    }

    my first div

    Please wait while the page is Loading! Please …
    Searching

    my second div

    <

    div class=”table-responsive” id=”table-responsive”>
    loads data from a database what might be wrong with my code

    #158270
    __
    Participant

    what might be wrong with my code

    Who knows?

    First off, your code is unreadable because it is not properly formatted. Format your code in posts here on the discussion boards (select your code and click the [Block Code] button). Alternatively, use an external service, like codepen to make a reduced test case, or make a gist on github to share larger sections of code.

    Second, what does your code do? “Can’t load” is very vague and doesn’t describe what is actually happening. Does your ajax work, but nothing is returned by the php page? is your ajax call started, but never returns? does nothing happen at all?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.