Turn off button on click?

DavidH

New Member
I have a checkout page I made in asp.net (vb) that has a submit button. I want to turn the submit button off the second it is clicked (to avoid double transactions on a double click of the button).<BR><BR>I know I can do a .enabled = false on teh sub that gets called when the button is clicked. The problem is when that button gets clicked I go two things...<BR><BR>btn.enabled = false<BR>chargecard()<BR><BR>...I am trying to find a way to update the browsers window after the enabled=false but before the chargecard() sub gets called.<BR><BR>Ideas?
 
Back
Top