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 4266180
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:43:31+00:00 2026-05-21T06:43:31+00:00

I have a page that uses several dijit form widgets. I also have an

  • 0

I have a page that uses several dijit form widgets. I also have an iframe on each side of my form that display various ads.

I noticed that certain ads take a while to load and that my dijit widgets do not render until the page is ready because my code is like this:

<script type="text/javascript">
    dojo.require("dijit.dijit");
    dojo.require("dojo.parser");
    dojo.require("dijit.form.Form");
    dojo.require("dijit.TitlePane");
    dojo.require("dijit.form.Button");
    dojo.require("dijit.form.ValidationTextBox");
    dojo.require("dijit.form.CheckBox");
    dojo.require("dijit.form.RadioButton");
    dojo.require("dijit.form.DateTextBox");
    dojo.require("dijit.form.FilteringSelect");
    dojo.require("dijit.Tooltip");

dojo.addOnLoad(function() {     
    dojo.addOnLoad(myFunction);
});

Is there a way I can make my dijit widgets that are on my form render first and then the ads display after? I know I can probably use ajax to get the ads after the page is ready but I was wondering if there was a different solution?

Thanks

  • 1 1 Answer
  • 0 Views
  • 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-21T06:43:32+00:00Added an answer on May 21, 2026 at 6:43 am

    I ended up using dojo.xhrGet to get my ads after the page loaded like this:

    dojo.addOnLoad(function() {
      getAds();
    });
    

    Inside getAds() it just does a simple xhrGet.

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

Sidebar

Related Questions

I have an app that uses several prefixes and, while not frequent, it's also
I have a page that uses jQuery with a small glitch. I managed to
I have a page that uses a background image to do rounded corners, and
I'd like to have a page that uses a child master page, fill in
I have a web page that uses cross page posting to post to a
I have an HTML page that uses AJAX to retrieve messages from a server.
I have a web page that uses three controls to allow a user to
I have a web page that uses jquery ajax to grab the table markup
I have an ASP.NET page that uses the ASP.NET Ajax Control Toolkit TabContainer .
We have an ASP.Net page that uses a checkbox to toggle between a list

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.