切記順序很重要!
jquery.js一定要擺在jquery-ui.js之前,
不然怎麼用都沒效 Orz
<link href="../jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="../jquery-1.10.2.js">
<script src="../jquery-ui.min.js">
<link href="../jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="../jquery-1.10.2.js">
<script src="../jquery-ui.min.js">
10 * * * * flock -xn /tmp/test.lock -c '/home/test/test.sh'
protected override void OnInit(EventArgs e)
{
bindDropdownlist();
base.OnInit(e);
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
DropDownList ddlTest = new DropDownList();
string _ddltest = "";
if (ctl.ID.IndexOf("ddlTest") >= 0)
{
ddlTest = (DropDownList)ctl;
_ddltest = this.Request[ddlTest.UniqueID];
}
}