De/Selecting Checkboxes with jQuery

De/Selecting Checkboxes with jQuery   The jQuery code below is an example on how to add and remove checkbox values to/from an array. The array can then be added to a DOM object/element and used in subsequent processing, like an SQL (dbfield in ‘${param.newElement}’) statement. <html> <head> <title>Page Title</title> </head> <body> <h2>Page Header</h2> <form> <input name=”checkboxname” value=”1″ onclick=”setCheckbox()” />Checkbox #1 …