selecting html table row for deletion

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved

Join Date: Jan 2008
Posts: 49
Reputation: Ankita B is an unknown quantity at this point 
Solved Threads: 0
Ankita B's Avatar
Ankita B Ankita B is offline Offline
Light Poster

selecting html table row for deletion

 
0
  #1
Mar 27th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 1,402
Reputation: ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light 
Solved Threads: 225
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: selecting html table row for deletion

 
0
  #2
Mar 27th, 2008
Sorry if you got confused, this is the PHP forum, you can take a look at the JSP Forum for JSP help.
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 49
Reputation: Ankita B is an unknown quantity at this point 
Solved Threads: 0
Ankita B's Avatar
Ankita B Ankita B is offline Offline
Light Poster

Re: selecting html table row for deletion

 
0
  #3
Mar 28th, 2008
oops sorry..but i finally got how to do it..using radio button attributes..thanks
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC