Feature #232
Select All Module
Start date:
10/29/2010
Due date:
10/29/2010
% Done:
100%
Estimated time:
2.00 h
History
#1 Updated by Luke Murphey about 14 years ago
- Assignee set to Luke Murphey
#2 Updated by Luke Murphey about 14 years ago
- Due date set to 10/29/2010
- Start date changed from 10/25/2010 to 10/29/2010
- Estimated time set to 2.00 h
#3 Updated by Luke Murphey about 14 years ago
Below is a code fragment that supports the select all:
<td colspan="2">
<div style="float:left">
<span class="TitleText">Status</span>
</div>
<div>
<input type="checkbox" id="selectall">
</div>
</td>
function selectAll(){ $('input[type=checkbox]').attr("checked", "true"); };
function unselectAll(){ $('input[type=checkbox]').removeAttr("checked"); };
function doCheck(){
if( $('#selectall').attr("checked") ) {
selectAll();
}
else{
unselectAll();
}
};
$('#selectall').click( doCheck );
#4 Updated by Luke Murphey about 14 years ago
May want to consider http://plugins.jquery.com/project/shiftcheckbox which allows you to "select-click" to select multiple (like Gmail).
#5 Updated by Luke Murphey about 14 years ago
Below are the view that require the select all checkboxes:
- Exception List
- Site group rule list
- Scan policy management
- Group management
- User management
#6 Updated by Luke Murphey about 14 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Implemented in r913.
#7 Updated by Luke Murphey about 14 years ago
- Category set to Web Interface