DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   selecting html table row for deletion (http://www.daniweb.com/forums/thread115906.html)

Ankita B Mar 27th, 2008 2:50 am
selecting html table row for deletion
 
Hi,
I am trying to make a table that has following columns:
site id,txn id,txn name,target id,target db
there can be any number of rows in the table and each row has at least one different column entry with respect to other rows.Now i wish to delete from database data of the row that is selected.I was thinking that giving checkboxes alongside each row and then somehow passing id of this selected checkbox(s) to java class would help in extracting data of individual fields in the row which can than be deleted.

Any ideas as to how to go about it?Im using jsp,javascript,java and html for my application.
Thanks

ShawnCplus Mar 27th, 2008 11:09 am
Re: selecting html table row for deletion
 
Sorry if you got confused, this is the PHP forum, you can take a look at the JSP Forum for JSP help.

Ankita B Mar 27th, 2008 11:56 pm
Re: selecting html table row for deletion
 
oops sorry:)..but i finally got how to do it..using radio button attributes..thanks


All times are GMT -4. The time now is 4:14 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC