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

  • Home
  • SEARCH
  • 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 9220989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:28:37+00:00 2026-06-18T03:28:37+00:00

hitting my head against the wall.. google searched and checked previous q’s here.. cant

  • 0

hitting my head against the wall.. google searched and checked previous q’s here.. cant find the answer.. using jquery 1.9.1

pretty simple problem… select drop down list, want my func to fire when the drop down list is changed by the user.. problem is . nothing happens.. no errors.. func wont fire

$("select.radStatus").change(function() {
    // alert('Value change to ' + $(this).attr('value'));
    $.ajax({
       type: "GET",
       url: "ajax_me.php",
       data: "officeLocName=" + $(this).val(),
       success: function(msg){
           $('#signInResult').html('<img src="img/checkmark.png" />');
        }
    });
});

HTML is:

<select id="radStatus" name="officeLocName">
<option value="1">choice 1</option>
<option value="2">choice 2</option>
<option value="3">choice 3</option>
</select>

i try to sewlect a new option… event doesnt fire… nothing happens.. no errors in firebug

thanks

Update:
thank you it works!

  • 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-18T03:28:38+00:00Added an answer on June 18, 2026 at 3:28 am

    this is not the select when you are within $.ajax and ID prefix needs to be used in selector

    There is no point making another DOM search as other answers suggest, just declare the select val as variable before the $.ajax

    $("select#radStatus").change(function() {
        var value=$(this).val();
        $.ajax({
           type: "GET",
           url: "ajax_me.php",
           data: "officeLocName=" + value,
           success: function(msg){
               $('#signInResult').html('<img src="img/checkmark.png" />');
            }
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I'm hitting my head against the wall here... I'm using DataContractJsonSerializer to encode
Hitting my head against a wall here. Feel like this should be simple, but
So I've been hitting my head against the wall on this for the last
Is there? I don't know. I've been hitting my head against a brick wall
I have been hitting my head against the wall with this one for few
I have been hitting my head against the wall trying to figure this out
I have been hitting my head against a brick wall for a bit and
Been hitting my head on the wall before as I don't make any test
I am hitting my head to the wall because of this I know this
Hi all i've got a complex SSIS package, however i'm hitting my head against

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.