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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:49:23+00:00 2026-05-20T03:49:23+00:00

I am running into a strange issue. I have a dropdown list that contains

  • 0

I am running into a strange issue. I have a dropdown list that contains some values. Using JQuery code I am trying to set one option as the selected one:

$('.myform #company').val('10K');

The company element is the dropdown select and one of the options in it has the value of 10K. If I try the same code for a different value in the same dropdown it works just fine.

I’m a little bit at a loss. I have a hard time thinking that the actually string value 10K is what is causing it…

Thanks

<option value="">Select</option>
<option value="10K ">10k Filing</option>
<option value="501C">501c3 Filings</option>
<option value="F990">Form 990</option>
  • 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-20T03:49:23+00:00Added an answer on May 20, 2026 at 3:49 am

    Surprised nobody has pointed this out, but the value of that option has an extra space:

    <option value="10K ">10k Filing</option>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running into this strange issue. Basically I have a loop that loops forever,
I'm running into a very strange issue that I have found no explanation for
I am running into a strange issue with Java Calendar. The following code adds
I have a navigation controller based application and I'm running into a strange issue
I am running into a very strange situation with an app I have that
We have a strange issue with running an Facebook IFrame application (using MVC 2).
I am running into a strange issue in perl that I can't seem to
I am using a WPF ribbon and I have just run into some strange
I'm using SQL Server 2005 Express, and I'm running into a strange issue. I
I'm running into a strange problem when using unittest.assertRaises . When executing the code

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.