This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Javascript or vbscript and ASP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Javascript or vbscript and ASP" Watch "Javascript or vbscript and ASP" New topic
Author

Javascript or vbscript and ASP

shiva susan
Greenhorn

Joined: Oct 31, 2008
Posts: 1
Hi!

In one form i have multiple check boxes and textboxes.

for ex:
1 row: "checkbox" Car "textbox" Red color
2 row: "checkbox" Car "textbox" Yellow color
3 row: "checkbox" Bicycle "textbox" Green color
4 row: "checkbox" Scooter "textbox" Red and white color
5 row: "checkbox" Bicycle "textbox" Black color

Now i select 2 checkboxs (1st row checkbox and 4th row checkbox).
i want to pass the 1st row checkbox and textbox value (Car, Red color) and 4th row checkbox and textbox value(Scooter, Red and white color) pass into database. How? I didn't want to store the remining checkboxs and textboxs value. I want to store the selected rows checkbox and textbox value.

It's very very urgent work..... please help me....
Regards & Thanks,
Susan
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
"Javascript or vbscript and ASP" how this subject is related to your problem?

Browser will include only those checkboxes in the request which were selected. Unselected checkboxes are not part of the request. Also you can programmatically store the desired checkboxes only.


My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript or vbscript and ASP