
October 24th, 2012, 08:34 PM
|
 |
Contributing User
|
|
|
|
|
Not going to write the code for you, because then what would be the purpose of me doing YOUR homework; you wouldn't learn anything like that. Although... I will tell you how to begin.
1.) Get the value(s) from your checkbox(s) and validate, as needed.
2.) Then take the checkbox values and use a JavaScript push() prototype; to add the values into the array. You can do it without the prototype; but this would be the easiest way.
3.) Insert the array key(s) into an AJAX query; to preform a database query (from your server side page).
4.) Use AJAX to retrieve the responseText (from your server side page) and then... use that responseText to display the data, in your table.
And then... your done; good luck.
|