button and post back

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

Is there a way that when a button is clicked that it will run code without
doing a post back?

I have a button that when it is clicked a message box pops up from the
javascript event onbeforeunload.

However, I would like to be able to click the button and run some code
without the message box poping up

Any help would be appreciated
Brian
.



Relevant Pages

  • Re: button and post back
    ... > javascript event onbeforeunload. ... > without the message box poping up ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: button and post back
    ... "Scott M." wrote: ... >> without the message box poping up ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Help Constructing Fictional Cross-Religious Movement
    ... notion that the story is false is either explicit or present ... by implication. ... Brian ... Prev by Date: ...
    (rec.arts.sf.composition)
  • Re: Time in various languages...
    ... > times that start with 10' is rather the opposite of ... seemed to me the obvious interpretation of 'half 10', ... Brian ... Prev by Date: ...
    (sci.lang)
  • Re: Hurricanes
    ... Its like down town new Orleans up here (minus the rain and cloud) ... Prev by Date: ...
    (uk.sci.weather)