Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OnClick Event for Button with PostBackURL

Status
Not open for further replies.

nevets2001uk

IS-IT--Management
Jun 26, 2002
609
GB
I have an image button I'm using to pass a shopping cart to paypal. It used the PostBackURL and it seems that I cannot add events to the onlclick for this button. Is there a way to trigger some actions before the page is sent to PayPal?

Steve G (MCSE / MCSA:Messaging)
 
look at ClientScript.RegisterStartupScript
with this you can add javascript events (onblur, onclick ect...) your button should also have an attribute onclientclick.

Ordinary Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top