Multiple click on the "Submit" button

xiaoxiao2021-03-30  210

Public void Page_Load (Object Obj, Eventargs E)

{

btn.attributes.add ("onclick", "state = true;");

StringBuilder SB = New StringBuilder ();

Sb.append ("if (!" return; ");

Sb.append ("VAR button = document.getlementByid ('btn');");

Sb.append ("Button.Value = /" please wait ... / ";");

Sb.append ("Document.body.style.cursor = 'Wait';");

Sb.append ("Button.disabled = true;");

String strscript = "