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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:33:36+00:00 2026-06-07T09:33:36+00:00

Get all elements like this without jQuery <input type=checkbox name=IB_PROPERTY_415_DEL id=IB_PROPERTY_415_DEL value=Y> <input type=checkbox

  • 0

Get all elements like this without jQuery

<input type="checkbox" name="IB_PROPERTY_415_DEL" id="IB_PROPERTY_415_DEL" value="Y">
<input type="checkbox" name="IB_PROPERTY_417_DEL" id="IB_PROPERTY_417_DEL" value="Y">

Where 415 changing every iteration, with whole values (414, 416, etc)
Other checkbox with other names exist on page
I needs one time solution, for console script

  • 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-07T09:33:41+00:00Added an answer on June 7, 2026 at 9:33 am

    Use a loop?

    var elements = [];
    for (var i=415; i<418; i++)
        elements.push(document.getElementById("IB_PROPERTY_"+i+"_DEL"));
    

    (The unique identifier should be enough)

    If you don’t know the ids, you could try this:

    var inputs = document.querySelectorAll("input[type=checkbox][value=Y]");
    var elements = [];
    for (var i=0; i<inputs.length; i++)
        if (inputs[i].name == inputs[i].id && /^IB_PROPERTY_\d{3}_DEL$/.test(inputs[i].id))
            elements.push(inputs[i]);
    

    (Note that document.querySelectorAll won’t work in all browsers, see @Matt’s solution for a better way)

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

Sidebar

Related Questions

My xml looks like this: <nodes><skus><sku>abc</sku><sku>def123</sku></skus></nodes> I want to get all the elements with
How can I get all tr elements without id attribute? <tr id=name>...</tr> <tr>...</tr> <tr>...</tr>
I'm trying to get all the input elements from a certain form from jQuery
I would like to get the dimensions (coordinates) for all the HTML elements of
How can I get all td elements with 'colspan' greater than 1 in jQuery?
I would like to get all elements following a particular index of a list.
Possible Duplicate: Get list of all input objects using JavaScript, without accessing a form
HI, I'm trying to get accordion like functionality without using jQuery's UI accordion feature.
I would like to use the jQuery button elements as standalone - without the
I want to get all anchor elements on my page where the attribute rel

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.