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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:33:30+00:00 2026-05-31T19:33:30+00:00

I am using the following plugin: http://codecanyon.net/item/dynamic-step-process-panels/118950 and I am trying to modify its

  • 0

I am using the following plugin: http://codecanyon.net/item/dynamic-step-process-panels/118950
and I am trying to modify its behavior. Currently when the last tab is reached the next button becomes inactive, its class is changed from ‘button activeButton’ to ‘button inactiveButton’. I need to change the next buttons class to one which I create myself, which will act as a submit button.

I have unsuccessfully tried to modify the div class in the following way:

<script type="text/javascript">

    $(document).ready(function() {
        $("#processPanel").processPanel({
            kind: "freeChoice",
            icons: true,
            nextPrevButtons: true,
            style: "green-blue",
            afterOpen: function(event, step, content, stepNumber){
                if(stepNumber==3)
                {
                    $(".button inactiveButton").attr('class', 'button activeButton-green-blue');
                }
            }
        });

Any advice would be greatly appreciated…

  • 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-31T19:33:31+00:00Added an answer on May 31, 2026 at 7:33 pm

    To match a single element with multiple classes, prepend each with a period and leave out the space:

    $(".button.inactiveButton")...
    

    With the space and inactiveButton not having a prefix, the selector is trying to match something like this:

    <div class="button">
        <inactiveButton />
    </div>
    

    You may also look at using addClass and removeClass rather than setting the class attribute directly:

    $(".button.inactiveButton")
        .removeClass('inactiveButton')
        .addClass('activeButton-green-blue');
    

    This way, if the element has any other classes assigned to it, you won’t remove them unintentionally.

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

Sidebar

Related Questions

Hello I am using jquery layout plugin from http://layout.jquery-dev.net/ . my options are following:
I am using the following plugin: http://flowplayer.org/tools/scrollable.html and under the sub-heading of Scripting API
I am using following WordPress plugin to send email. http://coffee2code.com/wp-plugins/configure-smtp/ I have done configuration,
I'm using the following jQuery plugin: http://slidesjs.com/ I've set the play attribute to 30000
I am using the following jQuery Color plugin: /* Color animation jQuery-plugin http://www.bitstorm.org/jquery/color-animation/ Copyright
I am using Jquery tokenizer as like facebook using the following plugin http://loopj.com/jquery-tokeninput/ which
This is regarding the following jQuery plugin: http://blog.danawoodman.com/jquery-showhide/ I am using jQuery show hide
Struggling with onchange for JQuery Datetime plugin: http://plugins.jquery.com/project/datetime I am using the following code.
I am using the following plugin http://playground.mobily.pl/jquery/mobily-notes/demo.html which gives a very good stack, but
I am using the following plugin http://imageflow.finnrudolph.de/ and made some custom changes It 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.