html code:
Jquery Code:
$(\'[id$=b
Wouldn't you just need to do the following:
btnTest.Enabled = False;
in the code-behind file? This will cause a postback but it should work.