Re: button and post back
- From: "Scott M." <s-mar@xxxxxxxxxxxxx>
- Date: Fri, 22 Jul 2005 14:52:58 -0400
Add onClick="javascript here" to the button.
"bbdobuddy" <bbdobuddy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:79E4D8B9-323B-4437-AF2E-38EE42F2CE60@xxxxxxxxxxxxxxxx
> 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
.
- Follow-Ups:
- Re: button and post back
- From: bbdobuddy
- Re: button and post back
- References:
- button and post back
- From: bbdobuddy
- button and post back
- Prev by Date: Re: Anyone use Visual Sourcesafe?
- Next by Date: Re: ASP.NET Querying a database
- Previous by thread: button and post back
- Next by thread: Re: button and post back
- Index(es):