在服務器控件的中添加 ClientIDMode="Static"服務器
例: <asp:Table ID="table_write" runat="server" ClientIDMode="Static">這樣table讀出來的id就不會改變。server