摘要:
下拉框二级联动,页面无刷新A. (aspx) <asp:DropDownList ID="DropDownList1" runat="server" Height="16px" onchange="getChildren(this.options[this.selectedIndex].value, 'ddl');" Width="139px"> <asp:ListItem Value="0">请选择</asp:ListItem& 阅读全文
摘要:
<%@ Page Title="主页" MaintainScrollPositionOnPostback="true" %> 阅读全文
摘要:
//Java中如果:参数个数不固定,可以用下面方式写。如果[show(String msg,int...nums)]有多少参数,它需要放在最后。 public static void showNum(int...nums){ for(int i : nums){ System.out.println(i); } } public static void main(String[] args) { showNum(1); showNum(1,2); showNum(1,2,3);... 阅读全文