Top "Pageload" questions

Use this for general web page loading questions (HTML, PHP, ASP, etc).

How to make JavaScript execute after page load?

I'm executing an external script, using a <script> inside <head>. Now since the script executes before …

javascript html dom dom-events pageload
$(document).ready equivalent without jQuery

I have a script that uses $(document).ready, but it doesn't use anything else from jQuery. I'd like to lighten …

javascript jquery pageload
Force page scroll position to top at page refresh in HTML

I am building a website which I am publishing with divs. When I refresh the page after it was scrolled …

javascript jquery html pageload page-refresh
Auto-click button element on page load using jQuery

If I wanted to auto-click a button element on page load, how would I go about this using jQuery? The …

jquery html button modal-dialog pageload
Is there a cross-browser onload event when clicking the back button?

For all major browsers (except IE), the JavaScript onload event doesn’t fire when the page loads as a result …

javascript pageload
How to display a loading screen while site content loads

I'm working on a site which contains a whole bunch of mp3s and images, and I'd like to display …

javascript html css loading pageload
how to display variable value in asp.net which is set in Page_Load function

I have a variable which I get from database I want to output this variable in the aspx page in …

asp.net variables pageload
PHP echo vs PHP short echo tags

Are they equal in safeness? I was informed that using <?=$function_here?> was less safe, and that it …

php function echo pageload
How to get webDriver to wait for page to load (C# Selenium project)

I've started a Selenium project in C#. Trying to wait for page to finish loading up and only afterwards proceed …

c# selenium-webdriver ui-automation pageload selenium-firefoxdriver
Is there an after Page_Load event in ASP.net

Is there an event that is triggered after all Page_Load events have completed? How can i have more than …

asp.net page-lifecycle pageload