1、var c = JqueryNet.JQuery.Get(TextArea1).Val();
Response.Write(c.Value);
var c = JqueryNet.JQuery.Get(show).Children<HtmlInputControl>(p => p.Type == "checkbox");
foreach (var item in (List<HtmlInputControl>)c.Value)
{
Response.Write(item.ID);
}
2、JqueryNet.JQuery.Get(FileUpload1).Val(Server.MapPath("~/Scripts") "//" FileUpload1.FileName);

3、var query = JqueryNet.JQuery.Get(Button4);
query.AddClass("t");
query.Height("200px");
var conts = form1.Controls;
var s = from p in conts.OfType<HtmlInputButton>() select p;
foreach (var item in s)
{
Response.Write(item.Name);
Response.Write("<br/>");
}
JqueryNet.JQuery.Get(Button1).Click("a()");

Last edited Aug 22, 2010 at 11:54 AM by duanseven, version 1

Comments

No comments yet.