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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:10:08+00:00 2026-06-04T22:10:08+00:00

My issue: This code works in firefox chrome and safari but not in IE

  • 0

My issue: This code works in firefox chrome and safari but not in IE 8. I had .change but i found out that it does not work in ie so i did .click and tried it again in all the browsers, all is working, try in ie still not working. The anythingSlider is a jquery library im using and i know for sure thats not the issue (going reverse works like selecting the item on the drop down and moving to that slide works everywhere including ie. Thanks.

My code:

 $(document).ready(function() {
 $('#skillslist').click(function()
  {var str = $(this).attr('value');
  var pattern = /[0-9]+/g;
  var matches = str.match(pattern);
 var myInteger = parseInt(matches);
 $('#slider').anythingSlider(myInteger);


  });


    });
</script>

 <select name='myList'  id='skillslist'>
 <option>Subscription Days Remaining: <? echo $days ?></option>
 <option id='skill1'>Skill 1: Hand Washing</option>
 <option id='skill2'>Skill 2: Abdominal Thrust on Conscious Resident</option>
 <option id='skill3'>Skill 3: Ambulation using a Gait Belt</option>
 </select>
  • 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-04T22:10:09+00:00Added an answer on June 4, 2026 at 10:10 pm
    $('#skillslist').change(function() {
        var str = $(this).val();
        // ...
    });
    

    I always try to avoid $(this).attr('value') or this.value, because select box values should be queried using this.options[this.selectedIndex] … which is what .val() does for you.

    Before you say “it does not work” describe what’s not working first and make sure to eliminate other factors by alert()ing the myInteger value.

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

Sidebar

Related Questions

This seems like a common issue but I have not found any questions that
I found out the next issue in this simple code: let () = print_endline
The following code does not automatically begin playing an mp3 in Firefox, but it
Consider this JSFiddle . It works fine in Firefox (14.0.1), but fails in Chrome
This simple code is not working in Chrome or Safari... <!DOCTYPE HTML> <html> <head>
I am having trouble figuring out where my issue with this code is. My
Here is my site: http://smartpeopletalkfast.co.uk/jquery/basicDemo12-bugfix-3.htm It works fine on firefox, chrome, safari and ie9,
I have a web app that works fine from all browsers (IE9, Firefox, Chrome,
I have an issue that only seems to affect Safari and Chrome (aka WebKit).
My JavaScript code is working on on Chrome, IE, and Firefox, but when it

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.