Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6174599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:46:51+00:00 2026-05-23T23:46:51+00:00

I am having a simple HTML table with dynamic data generated from Server side.

  • 0

I am having a simple HTML table with dynamic data generated from Server side. The table contains several rows with 2 columns and a check box .click the check box for each row and clicking “ADD” button the rows should get added to the select box in this format
“row1col1value:row1col2value:”. The select box should only contain the rows which are checked

sample code in this link

[http://jsfiddle.net/6nT2r/16/][2]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:46:51+00:00Added an answer on May 23, 2026 at 11:46 pm
    $('#button1').click(function(){
        $('#myselect').empty();
        $(':checkbox:checked').each(function(){
            var _row_data = $(this).parent().siblings().map(function(){
               return $(this).html();
            }).get().join('');
            $('#myselect').append('<option>' + _row_data + '</option>');
        });
    });
    

    Working example: http://jsfiddle.net/AlienWebguy/g3CZC/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a fairly simple dynamic html structure of a table that contains links
This is a rather simple question, I am having problems inserting data from Javascript
Having an HTML page with a simple table and js code to do show
I'm having a problem getting a simple ASP.NET webpage to display. The page contains
I build dynamically my HTML table from database like that: for (i = 0;
I am attempting to parse HTML for specific data but am having issues with
I'm creating a simple hierarchical table with html and CSS and I'm getting into
What are the options for having a simple blog, content management system that will
I really need help on this one. I am having a simple login form
by simple I mean, having buttons: bold, italic, numbered list bullet point list indent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.