Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4341438
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:29:07+00:00 2026-05-21T11:29:07+00:00

here is a site i’m refering to: http://www.graphicfirm.com/index.php if you scroll down to the

  • 0

here is a site i’m refering to:
http://www.graphicfirm.com/index.php

if you scroll down to the bottom and for example click on automotive while the pictures are being loaded you see a message that says searching…. and then when you click on a picture everything is kind of dimmed and you see the message loading…

how is this done with jquery/ajax?

correct me if im wrong but this is my best guess.

$.ajax({
       url: "ajax.php",
       type: "GET",
       dataType: "json",
       data: "attribute=myvalue",

        beforeSend: function()
        {

            $(".mymessage").show();
            //dim page
        },

        complete: function()
        {

            $(".mymessage").hide();
            //undim page
        },

        success: function(data)
        {

            //load data               

        }

});

if i got it right how would they be dimming the page?
if i got it wrong can you show me a sample?

thanks

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T11:29:07+00:00Added an answer on May 21, 2026 at 11:29 am

    That’s how you should do this:

    $(".mymessage").show();
    $.ajax({
           url: "ajax.php",
           type: "GET",
           dataType: "json",
           data: "attribute=myvalue",
            success: function(data)
            {
               $(".mymessage").hide();
               //load data
            }
    });
    

    Put $(".mymessage").show(); before ajax call and hide it right when the success occurs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this site here http://cowelllaserhair.com/index.php and you will notice that there is a
I'm developing this site here for a client of mine: http://test.bebiafricanhairbraiding.com/osa/index.html I've encountered a
I got this site here http://inauguralseason.com/ and if you click on contact us in
I'm building a new site here: http://www.bigideaadv.com/wright/ Works fine in IE 7-9, Firefox, and
Hey ya'll I have this site here http://www.taranmarlowjewelry.com/ and in the top right corner
I have little problem on the here http//site.com/detial.php?verifyID=$parametre i want this like short url
I have this site here http://willruppelglass.com/Categories.php?action=view as you can see an image cuts off
I have this site here http://www.taranmarlowjewelry.com/?page_id=5 and in the top right corner I have
If you go to this site here: http://alexdunphy.github.com/refineslide/#installation And click on the menu buttons
You can view my site here - http://patiss-themes.com/planetary/ and as you can see on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.