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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:27:31+00:00 2026-06-01T22:27:31+00:00

I have a CMS that multiple people administer. We enable/disable some of our shipping

  • 0

I have a CMS that multiple people administer. We enable/disable some of our shipping methods depending on the time of year. I want to setup our checkout page to display a different message in our pickup info TD if someone enables the “Text Reserv. Pick-up” shipping option, but leave it as the default if not.

I’ve found plenty of examples to change a div or something else if an option is selected, but I just want to see if an option is in the list and then change the content of a TD based on that. I’ve tried modified of those examples to see if it will work for my situation, but haven’t got it to work.

I already have the code to change the TD, but can’t figure out how to check to see if the select contains a certain option first. Here’s the code I have to change the text and input button of the TD:

// Change description from "To pick up at the bookstore" on Step 2 of checkout to Reserve Your Textbooks
$('td[id$=PickupAtStoreColumn] div.multipleship').each(function() { $(this).html($(this).html().replace("To pick up at the bookstore","Reserve Your Textbooks")); });

// Change "Pick Up At Store" button text on Step 2 of checkout to Reservation Pickup
$('td[id$=PickupAtStoreColumn] input[id$=btnPickupAtStore]').attr('value','Reservation Pick-up');

How can I check to see if select[id$=drpShipType] has “Text Reserv. Pick-up” enabled as an option first? Thanks!

  • 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-01T22:27:33+00:00Added an answer on June 1, 2026 at 10:27 pm

    If your select element’s options have values specified, you can detect whether the option exists via:

    $('#drpShipType option[value="Text Reserv. Pick-up"]').length > 0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a CMS that supports multiple sites, one of our features allows our
For our CMS we have a site manager that defines the site's tree structure
I have a CMS application that manages multiple websites, today whenever i change the
Is it possible to host multiple websites that all have one single/common CMS (Joomla)?
This is a bit of a specific request unfortunately. I have a CMS that
I have a activate button in my CMS that allows the user to quickly
I have a open source editor on the cms that I am making that
I am refurbishing a big CMS that I have been working on for quite
I have a CMS running. I am seeing that my CMS users are entering
I have a web app I'm making to run off a CMS that is

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.