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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:47:54+00:00 2026-05-11T09:47:54+00:00

I watched a pdc session by Stephen Walther and in the presentation he was

  • 0

I watched a pdc session by Stephen Walther and in the presentation he was referencing the JQuery js file like the following:

<asp:ScriptManager id='sm1' runat='server'> <Scripts>     <asp:ScriptReference Path='~/Scripts/JQuery.js' /> </Scripts> </asp:ScriptManager> 

Is there a advantage or disadvantage to doing it the above way instead of just using a link in the head section of the page.

He was also putting the following into the javascript section of his sample pages to run JQuery:

<script type='text/javascript'>  function pageLoad() {    $(':text').css('background-color','yellow'); } </script> 

Is the pageLoad necesary above? He mentioned that it is from the Microsoft AJAX library and it waits for the DOM to be finished loading, but I thought the $ symbol in JQuery is just a shorthand for waiting for the DOM to be finished loading.

  • 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. 2026-05-11T09:47:55+00:00Added an answer on May 11, 2026 at 9:47 am

    $(document).ready() and pageLoad() are not the same!

    http://encosia.com/2009/03/25/document-ready-and-pageload-are-not-the-same/

    From the article:

    pageLoad() is called just after the DOM has finished loading. this isn’t the only point at which pageLoad() is called though: It is also called after every partial postback.

    In the case of initialization code that should run once, $(document).ready() is the ideal solution.

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

Sidebar

Related Questions

I've read this question mentioning Code Bubbles and I've watched their video presentation. The
I watched John Resig's Best Practices in JavaScript Library Design presentation; one slide suggested
I've just watched Uncle Bob's presentation on Architecture software : http://www.cleancoders.com/codecast/clean-code-episode-7/show He talks about
I just watched a video of Douglas Crockford's presentation about his 2009 book JavaScript:
I watched the YouTube presentation Tech Talk: Linus Torvalds on git a few weeks
I just watched a session of PDC09 about new features of Entity framework in
I just watched a 2011 WWDC presentation on Implementing UIViewController Containment ( here's a
I just watched the Windows Azure intro video and it left me feeling like
I watched the DNR TV episode with Glenn Block and it looks like MEF
I watched a little introduction into ASP.NET Dynamic Data, and I noticed this option

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.