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

  • SEARCH
  • Home
  • 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 8575389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:41:01+00:00 2026-06-11T19:41:01+00:00

I have this sample http://jsfiddle.net/7aDak/927/ . I need to iterate through each table’s each

  • 0

I have this sample http://jsfiddle.net/7aDak/927/ . I need to iterate through each table’s each row’s dropdown and textarea and build a string based on that . I must not use id’s . How would I do it ? Thanks in advance .

  • 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-06-11T19:41:03+00:00Added an answer on June 11, 2026 at 7:41 pm

    Your code was almost set.. just needed minor fix.. See below,

    DEMO: http://jsfiddle.net/7aDak/931/

    $("#btnSave").click(function() {
    
        $(".templateTable").each(function() {
            //v-- Used $(this).find('tr') to get all tr from the selected table
            $(this).find("tr").each(function() {
                $this = $(this)
                var email = $this.find("textarea").val();
                var frequency = $this.find("select").val();
                alert(email + '--' + frequency);
            });
        });
    });
    

    or As suggested by Rune

    $("#btnSave").click(function() {
        $(".templateTable tr").each(function() {
            $this = $(this)
            var email = $this.find("textarea").val();
            var frequency = $this.find("select").val();
            alert(email + '--' + frequency);
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple jquery flipcard animation - http://jsfiddle.net/gGAW5/36/ Now the way this flip
I have created a sample jsfiddle at http://jsfiddle.net/nair/bv3FG/19/ to demonstrate the problem I am
i have this simple code http://jsfiddle.net/U4Fj9/ the index of the visible image is always
i have this simple example here : http://jsfiddle.net/pTyvc/1/ i don't want the sub_menu div
I have this code: http://jsfiddle.net/Q4PUw/2/ Hence, a simple HIDDEN TO VISIBLE jQuery Script. What
Good Day all, i have been working with http://jsfiddle.net , the sample app i
i have this setup: http://jsfiddle.net/patrioticcow/XnnvD/ what i want to accomplish is when i hover
I currently have this piece of code: NSString *strURL = [NSString stringWithFormat:@http://www.sample.com /phpFile.php?firstname=%@,txtfirstName.text]; NSString
I have a bare-bones sample project here: http://dl.dropbox.com/u/7834263/ExpandingCells.zip In this project, a UITableView has
I have downloaded the sample code from this site for FTP Client http://www.lysesoft.com/products/andftp/index.html But

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.