^^^^^ what vinod said.
You should post this on the board related to the server side technology you're using. Javascript can only handle client side logic. When your visitor types in your website, your server sends them back the HTML for the browser to display. Javascript makes everything move or change or otherwise react that requires programming on your page without contacting the server.
Deleting items from the database all happens on the server end. Once someone checks the different boxes to delete records, they click the button and that triggers a postback event which "posts" the form data back to the server. It's the server side scripting that responds to that information and deletes the database records. So the ASP/PHP or whatever boards would be the place to post depending on what server side technology you're using.
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of
www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.