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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:45:15+00:00 2026-05-16T04:45:15+00:00

I have the following jquery and it is getting long. Is there any way

  • 0

I have the following jquery and it is getting long.

Is there any way to shorten this?

Thanks in advance.

$('input[value|=Kjøp],input[value|=Buy],input[value|=Fortsett å handle],input[value|=Skriv deg inn her],input[value|=Logg inn],input[value|=Lagre],input[value|=Logg deg på],input[value|=Continue shopping],input[value|=Register as a customer],input[value|=Login],input[value|=Gå til kassen],input[value|=Proceed to checkout],input[value|=Save],input[value|=Fullfør bestillingen],input[value|=Confirm the order],input[value|=Neste],input[value|=Next],input[value|=Forrige],input[value|=Back],input[value|=Forsett til betaling],input[value|=Continue to make the payment],input[value|=Send],input[value|=Logg ut],input[value|=Log off],input[value|=Rediger dine kundeopplysninger],input[value|=Edit your information]').addClass("buybtn");
  • 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-16T04:45:16+00:00Added an answer on May 16, 2026 at 4:45 am

    Give all those input elements a common class (manually — type it in)

    <input class="chooseMe" value="Kjøp" />
    
    
    $('input.chooseMe').addClass("buybtn");   
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anyone have any luck getting JScrollPane to work with JQuery? I'm following the instructions
I have the following jquery script: $(function(){ $('#top-menu').on('click', 'a.change-menu', function(e){ e.preventDefault() $(#menu-change-div).load($(this).attr(href)); }); });
I have this following jquery text fly-in animation.Here is my code before I explain
I have the following HTML: <div class=row1> <input type=radio name=group1 value=0 checked=checked/>Zero <input type=radio
I've started looking at jQuery's built-in tabs functionality here: http://docs.jquery.com/UI/Tabs Is there any way
I have implemented datepicker following jQuery getting started , using 3 files: <link type=text/css
I have following HTML: <label><input type=checkbox value=12 name=Cevent[] /> Yoga</label> <label><input type=checkbox value=12 name=Cevent[]
I have a jQuery/ datatables app I'm writing, and I'm getting the following Firebug
i have the following jQuery code. $(function() { $('.clickme').click(function() { $('.totalthing').slideToggle('slow','easeInOutQuart', function() { //
I have the following jquery code: $(document).ready(function() { $(body[class*=page-calendar-practices] #content-header h1#title).after(<div id='athletics_practice-schedule'><div id='inner-title'><a href='www.example.com'

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.