It took me half a day to deal with the checkbox Select All/Cancel the whole selection.
| Technical field |
Trusted ComputingOther Select All |
Application Date |
20002001200220032004200520062007200820092010201120122013201420152016Years to2000200120022003200420052006200720082009201020112012201320142015So farYears |
| Patent type |
Invention PatentFull selection of utility models |
Authorization Date |
20002001200220032004200520062007200820092010201120122013201420152016Years to2000200120022003200420052006200720082009201020112012201320142015So farYears |
| State |
has been authorizedSelect All in the application |
Keyword search |
(name, patent number) |
function Selectallcondition ($name) {
var chks = $ ("input[name=" + $name + "']");
var srcelement = event.srcelement;
if (srcelement.innerhtml = = "Deselect All") {
Srcelement.innerhtml= "Select All";
for (Var i=0;i<chks.length;i++) {
if (chks[i].tagname== ' INPUT ')
Chks[i].setattribute ("Checked", "" ");
}
}else{
Srcelement.innerhtml= "Cancel all selection";
for (Var i=0;i<chks.length;i++) {
if (chks[i].tagname== ' INPUT ')
Chks[i].setattribute ("Checked", "true");
}
}
}
When I write this, when I click Cancel the selection, but not a little reaction, so spent the whole afternoon to deal with this problem, finally solved
function Selectallcondition ($name) {
var chks = $ ("input[name=" + $name + "']");
var srcelement = event.srcelement;
if (srcelement.innerhtml = = "Deselect All") {
Srcelement.innerhtml= "Select All";
for (Var i=0;i<chks.length;i++) {
if (chks[i].tagname== ' INPUT ')
Chks[i].checked=false;
}
}else{
Srcelement.innerhtml= "Cancel all selection";
for (Var i=0;i<chks.length;i++) {
if (chks[i].tagname== ' INPUT ')
Chks[i].checked = true;
}
}
}
| Technical field |
Trusted ComputingOther cancellations Select all |
Application Date |
20002001200220032004200520062007200820092010201120122013201420152016Years to2000200120022003200420052006200720082009201020112012201320142015So farYears |
| Patent type |
Invention PatentThe utility model cancels the full selection |
Authorization Date |
20002001200220032004200520062007200820092010201120122013201420152016Years to2000200120022003200420052006200720082009201020112012201320142015So farYears |
| State |
has been authorizedCancel the full selection in the application |
Keyword search |
(name, patent number) |
Select All/deselect the whole thing.