View Full Version : how to delete records by using checkbox?????

12-08-2006, 08:36 AM
hi, i'm showing the records on the page....then i can delete the records by using checkbox and submit button....anyone knows the delete function in javascript???
here's the code:

<input type=checkbox name=choice value = ???>
<input type="button" value="Submit" onclick="???")>

now i need the delete function in javascript,pls help me!!!!

thank you very much :o

12-08-2006, 05:07 PM
Are the records from a database?

If so I would not use JS but use ASP & VBScript.

12-08-2006, 05:41 PM
sorry,i post a wrong question here....actually i should post it at php there....
anyway,thanks 4 wasting ur time to reply me...:thumbsup: