This is a demonstration of a dojo dijit tri-state checkbox widget. The buttons allow you to execute the corresponding methods and display properties. Widget works with dojo 1.2.2+, probably backwards compatible to 1.1.+.
The tri-state checkbox is intended to act as a checkbox, allowing the user to indicate on or off. The third state (indeterminate) can be used to allow searches which disregard the state of the checkbox in the search query. You can then search for checkbox on, checkbox off, or checkbox doesn't matter. Indeterminate is considered invalid as an entry, unless it is a search query.
Button titles provide additional description for actions.
NotesDownload a copy: tri.tgz. MD5 b62dafa477157476cbeea844a523827f
Updates115 downloads.
Contact - bgamrat through this domain.
header('Content-type: application/json');
/* Echos all inputs back to the requestor */
echo '{';
foreach ($_REQUEST as $k => $v)
echo '"'.$k.'":"'.$v.'",';
/* Echo x:end allows the preceding loop to end all lines with a comma */
echo '"x":"end"}';