1.request getting a value-transfer problem
for (int i = 0; I < context. Request.Form.Count; i++)
{
for (int i = 0; I < context. Request.form.keys[i]; )
string []txtarr=context. Request.Params.GetValues (context. Request.form.keys[i]);
for (int j = 0; j<txtarr.length;j++)
Sb. Append (Txtarr[j]);
Context. Request.params
}
Context. Response.Write (sb.) ToString ());
Get data from all forms
Gets the value of all the same name in the checkbox
Http://www.cnblogs.com/BrokenIce/p/5663896.html
Arrays in 2.javascript can only store string types because JS is a weakly typed language
It is best to implement object array function with JSON string to save object
Declaring a JS array
var data=[] or var data=new Array () but notice that there is Var data={} in JavaScript This format refers to creating a JS object
Http://www.jb51.net/article/21762.htm
The JSON usage in JS is detailed http://www.jb51.net/article/20428.htm
3.jquery traverse the input HTML (radio,checkbox) checked is
$ (". Tm_paper_section input:checked"). each (function () {
var temp = {Name: $ (this). attr (' name '), Value: $ (This). Val ()};
Jsondata.push (temp);
});
2017/5/8 Summary JS Array and JSON (object array) operations