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 am running into a problem that i have a jquery modal popup in
I'm running into an issue where I have a FileUpload control in an UpdatePanel.
I'm running into a common pattern in the code that I'm writing, where I
After running into some un-handled exceptions when using Response.Redirect() , I read it up,
I'm running into an issue with Wicket generating markup for elements that programmatically need
Running into a problem where on certain servers we get an error that the
I'm running into a mental roadblock here and I'm hoping that I'm missing something
I'm regularly running into similar situations : I have a bunch of COM .DLLs
I'm running into a little problem that's driving me crazy, and I'd welcome any
Been running into this problem lately... When debugging an app in VS.Net 2005, breakpoints

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.