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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:05:06+00:00 2026-06-18T00:05:06+00:00

I have a CMS and i tried to customize it with jQuery and CSS3

  • 0

I have a CMS and i tried to customize it with jQuery and CSS3 but i got a problem with the language select (drop-down list).
I customized the <select> following this tutorial http://tutorialzine.com/2011/02/converting-jquery-code-plugin/

Everything works fine but the onChange of the select doesn’t work. So when I try to change language from the drop-down list (select) this change only the name in the select but doesn’t change language of the site.

This is my select:

<select name="lang" class="language" onChange="location.href=\''.$filename.'?lang=\' + this.options[this.options.selectedIndex].value +  \''.$trackpage.'\'">

I think that the issue is caused by jquery.tzSelect.js (please see the tutorial) because in this plugin there is a selectedIndex (this in conflict with the selectedIndex of the select):

if(i==select.attr('selectedIndex')){
                    selectBox.html(option.text());
                }

I tried to remove this line code from the plugin but doesn’t work.
Please help!
Thank you!

  • 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-18T00:05:07+00:00Added an answer on June 18, 2026 at 12:05 am

    You can use

    this.value
    

    instead of

    this.options[this.options.selectedIndex].value
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using magento 1.7. i have tried to change wrapper of cms content
I have to install big CMS on my localhost, but it requires mcrypt, and
i have a problem with a local installation on django cms 2.3.3: i've installed
I have tried finding a simialr example and using that to answer my problem,
I have searched and tried as much as I can but am stumped and
I have tried all the suggestions below but still no joy. I'm now trying
I have a problem with publishing a blog (Umbraco CMS) using web matrix. It
I have a cms that is returning a list like so: 1 This is
Update: I have tried Sheldon's code below but I have struck a couple of
I am working on a CMS system tries to support multilingual natively. I have

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.