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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:34:52+00:00 2026-05-26T02:34:52+00:00

I have some HTML I’m working on using programming from a CMS I didn’t

  • 0

I have some HTML I’m working on using programming from a CMS I didn’t write and it’s outputting some HTML radio options and is repeating them. Unfortunately I can’t control the output of this programming, so I’m attempting an alternative route of just trying to only allow 1 instance of the HTML to show up. Here’s an example:

<label class="fc_radio" for="shipping_service_101"><input type="radio" name="shipping_service" id="shipping_service_101" value="101|45" class="fc_radio fc_required"><span class="fc_shipping_carrier">USPS International Shipping Rate (tracking included)</span> <span class="fc_shipping_cost"><span class="fc_currency_symbol">$</span>45</span> </label>

<label class="fc_radio" for="shipping_service_101"><input type="radio" name="shipping_service" id="shipping_service_101" value="101|45" class="fc_radio fc_required"><span class="fc_shipping_carrier">USPS International Shipping Rate (tracking included)</span> <span class="fc_shipping_cost"><span class="fc_currency_symbol">$</span>45</span> </label>

As you can see, it’s identical code. Is there anyway with jQuery to essentially filter out the extra HTML that’s being outputted and keep 1 instance of the HTML inside the ? They’re inside a div with this ID and Class:

<div id="fc_shipping_methods_inner" class="fc_shipping_methods_inner">
REPEATING HTML HERE
</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-26T02:34:52+00:00Added an answer on May 26, 2026 at 2:34 am

    If it is just one extra element, you can do this:

    $('label.fc_radio').eq(1).remove();

    Example: http://jsfiddle.net/ZgLaU/

    If it is more than one element, use .slice()

    $('label.fc_radio').slice(1).remove();

    Example 2: http://jsfiddle.net/ZgLaU/1/

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

Sidebar

Related Questions

I have some HTML and I need to extract the actual written text from
I have some HTML that I insert into a div using javascript. But it
I have some html code and I want to get two things from it.
I have some HTML retrieved from a database so I have no control over
I have some html string that is coming from telerik radeditor, it may contain
I have some html that is created/output from a flash application & I need
I have some HTML and I am calling each H1 using .each() . I
We have some HTML buttons which we format using JQuery - $('#button').button() . Works
I have some HTML that looks like this: <ul class=faq> <li class=open> <a class=question
I have some HTML menus, which I show completely when a user clicks on

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.