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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:26:16+00:00 2026-05-31T15:26:16+00:00

i want to target the select boxes by there option title (inside bold tags)

  • 0

i want to target the select boxes by there option title (inside bold tags) the code is dynamically generated the only thing i know that will be constant is option title:(inside bold tags) how can i target in jquery

<div id="option-264" class="option">
    <span class="required">*</span>
    <b>Board Type:</b><br />
    <select name="option[264]" class="optionChoice">
        <option value=""> --- Please Select --- </option>
        <option value="20">All Mountain </option>
        <option value="21">Straight Jibber </option>
        <option value="22">Bender </option>
        <option value="23">Tripod </option>
     </select>
</div>
<br />
<div id="option-265" class="option">
    <span class="required">*</span>
    <b>Board Size:</b><br />
    <select name="option[265]" class="optionChoice">
        <option value=""> --- Please Select --- </option>
        <option value="17">146                        </option>
        <option value="18">147                        </option>
        <option value="19">149                        </option>
        <option value="24">150                        </option>
        <option value="25">152                        </option>
        <option value="26">153                        </option>
        <option value="27">155                        </option>
        <option value="28">156                        </option>
        <option value="29">157                        </option>
        <option value="30">158                        </option>
        <option value="31">159                        </option>
     </select>
</div>
  • 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-31T15:26:18+00:00Added an answer on May 31, 2026 at 3:26 pm

    By title, do you mean Board Size, Board Type etc? Should be able to do it using :contains()

    $(".option:contains('title')").find('select')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<select id=target> <option value=1>item1</option> <option value=2>item2</option> <option value=3>item3</option> </select> Say,I want to do some
I want to target this input and change it dynamically with jQuery: <select id=sub_cat
Is there a way to target only certain children of select parents without duplicating
Suppose that I want to select the nearest target element from startFromThis (only the
I can check for iPhone with this code: (navigator.userAgent.match(/iPhone/i)) But I want to target
I just want to select the target element which has name attribute value =
If I have this code: <select onchange=alert('?'); name=myname class=myclass> <option isred=-1 value=hi>click</option> </select> How
I want to change the form's target based on the option which is selected.
I want to be able to select all <a> tags which exactly match a
i want to target closest div from my anchor tag. so in order do

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.