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
 
Back
Top