javascript only when not postback

  • Thread starter Thread starter Tom Edelbrok
  • Start date Start date
T

Tom Edelbrok

I have an aspx page in Visual Studio 2005. I want to run a certain
javascript, but only if 'not postback'. ie: I only want the javascript to
run when the page loads for the very first time.

Is this possible?

Is there some way I can detect within the javascript if the page is being
loaded due to a PostBack or not?

Thanks in advance for any help,

Tom Edelbrok
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top