於Button .click() 時加上__doPostBack();
即可對應CodeBehind的Click事件
ex:
// 這 Botton1.click 會對應到 CodeBehind 的 Button1_Click 事件 $("#button1").click(function() { __doPostBack("button1", ""); return false; });
~Shael
於Button .click() 時加上__doPostBack();
即可對應CodeBehind的Click事件
ex:
// 這 Botton1.click 會對應到 CodeBehind 的 Button1_Click 事件 $("#button1").click(function() { __doPostBack("button1", ""); return false; });
~Shael
請先 登入 以發表留言。