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
  • #158253

    hi am trying to make my div appear after it has loaded my java script function loadPage(){

    $("#content").load("view.php", function () { //calback function


    my first div

    Please wait while the page is Loading! Please …

    my second div


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


    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.