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 6682441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:42:24+00:00 2026-05-26T04:42:24+00:00

I have 10 divs with forms inside of them and I need to get

  • 0

I have 10 divs with forms inside of them and I need to get all the email inputs, that have a checkbox checked, inside that form. Below is a sample of each html block, I have 10 in total.

    <form id="realtor10">
            <input id="chckbox" type="checkbox" name="mycheckbox" value="10" /> 
        <div id="realtor10">

            <div id="realtor10image"><img src="wp-content/themes/top10realtors/_image.jpg" alt="realtor10image" /></div>
            <div id="rightarea">
                <div id="realtor10logo"><img src="wp-content/themes/top10realtors/_logo.jpg" alt="realtor10logo" width="200" height="100" /></div>
                <div id="realtor10name">Realtor #10</div>
                <div id="realtor10email"><a href="#">(your email address here)</a></div>
                <div id="realtor10phone">(your phone number here)</div>
            </div>  
        </div>  
</form>

My goal is to be able to send an email to each email address that has, it’s checkbox checked.

  • 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-26T04:42:25+00:00Added an answer on May 26, 2026 at 4:42 am

    Assuming that all the email addresses are entered into form fields that end with the string email:

    var emailArray = [];
    $('input:text[name$="email"]:checked').each(
        function(){
            emailArray.push($(this).val());
        });
    

    Bear in mind that this will still need validating (ideally client and server-side, but, certainly server-side prior to storage in the database) and submission to the database.

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

Sidebar

Related Questions

I some divs with forms inside of them and i do have inputs with
EDIT:**I already have the divs cloned. All i need is a selector that will
I have several forms inside DIVS on my page. I have one form which
I have some divs that I show/hide. I want to reset the forms inside
I have a page that dynamically generates any number of divs.  Inside the div
I have container did and there are many divs inside that div. In one
I have a form with 2 divs that each contains a set of fields.
I have a drop-down selector and form fields below. I need to be able
I have a list of form-field divs inside a containing div. <div id=container> <div
I have several DIVs on a page. Inside these DIVs I have several form-elements

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.