Solved

ASP.NET - execute javascript from the page load event.

Posted on 2008-06-16
1
1,157 Views
Last Modified: 2013-11-07
I need to execute a javascript function when a page loads for the first time.  I need it to only execute on the first page load and not on postbacks.  Therefore, the way I see it, the code that does this needs to go into the VB.NET code behind file so that I can slip it into an Not IsPostback if statement.
0
Comment
Question by:josephdaviskcrm
1 Comment
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 21795651
Have a look at this http:Q_23164405.html#20898269
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question