Hi!
I have a multiple selection of checkboxes
[HTML]<input type='checkbox' name='coffee' id='col1' value='Address'/>
<input type='checkbox' name='coffee' id='col2' value='Name'/>
<input type='checkbox' name='coffee' id='col3' value='ID'/>
<input type='checkbox' name='coffee' id='col4' value='UserName '/>
<input type='checkbox' name='coffee' id='col5' value='Code'/>
[/HTML]
Want to store them in array. On submit of button.
Then hide and show the table column with respect to selection of checkboxes. i.e. selected checkbox will show that columns in table resat will hide.
[HTML]<td id="col1">Addre ss</td>
<td id="col2">Name </td>
<td id="col3">ID</td>
<td id="col4">UserN ame</td>
<td id="col5">Code </td>[/HTML]
thus if checkbox for "Name" and "ID" are checked than it will show the Columns only for "Name" and "ID" rest will hide but will be done on submit of the button
I have a multiple selection of checkboxes
[HTML]<input type='checkbox' name='coffee' id='col1' value='Address'/>
<input type='checkbox' name='coffee' id='col2' value='Name'/>
<input type='checkbox' name='coffee' id='col3' value='ID'/>
<input type='checkbox' name='coffee' id='col4' value='UserName '/>
<input type='checkbox' name='coffee' id='col5' value='Code'/>
[/HTML]
Want to store them in array. On submit of button.
Then hide and show the table column with respect to selection of checkboxes. i.e. selected checkbox will show that columns in table resat will hide.
[HTML]<td id="col1">Addre ss</td>
<td id="col2">Name </td>
<td id="col3">ID</td>
<td id="col4">UserN ame</td>
<td id="col5">Code </td>[/HTML]
thus if checkbox for "Name" and "ID" are checked than it will show the Columns only for "Name" and "ID" rest will hide but will be done on submit of the button
Comment