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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:03:12+00:00 2026-05-15T18:03:12+00:00

My problem is quite annoying, probably something really stupid but I’ve been going around

  • 0

My problem is quite annoying, probably something really stupid but I’ve been going around it and didn’t find a solution.I call in 2 different pages to this partial view:

<div id="NotificationStatusSuspensionDiv">     
     <p>
        <strong><%= Html.Label("Status :") %> </strong><br />

        <input type="radio" name="NotificationStatusSuspension" id="statusA" value="A" checked="checked" />
        <label for="statusA">Active</label>
        <input type="radio" name="NotificationStatusSuspension" id="statusN" value="N" />
        <label for="statusN">Not Active</label>
     </p>
 </div>    

The thing is that in the document.ready method in an external javascript file I do this:

  $('input:radio[name="NotificationStatusSuspension"]').each(function() {
    $(this).click(function() {
           setNotificationStatus($(this));
    });
});

I’ve seen that this works fine, when I click the radiobutton it loads the notifications which correspond to the status selected (that is what setNotificationStatus does). The problem is when I add the UI to the radiobutton like this:

$('#NotificationStatusSuspensionDiv').buttonset();

With all this code, it works perfectly fine in firefox and Chrome, but in IE it doesn’t do anything. It is as if it didn’t recognize the mouse click. The funny thing about this is that I have more or less the same code in another part of the site and it works just fine with IE….Do you have any clue ?

  • 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-15T18:03:14+00:00Added an answer on May 15, 2026 at 6:03 pm

    I’d try a few things:

    In your jQuery selector, try putting quotes around the attribute to match:

    $('input:radio[name="NotificationStatus"]')
    

    Try using jQuery’s each() method, so your events are bound like this:

    $('input:radio[name="NotificationStatus"]').each(function(){
      $(this).click(function(){
        alert($(this).val());
      });
    });
    

    And finally, try ID’ing things with alphanumerics and underscores only. The third radio button has a % sign in the ID name, and I’m not sure if that’s good practice. IE might throw fits when it sees that.

    PS: for clarity (and standards), you might want to remove the spaces around the equals sign in your attributes as well as adding a space before the self-closing slash. For example, change:

    <input type="radio" name="NotificationStatus" id="statusA" value = "A" checked = "checked"/>

    to

    <input type="radio" name="NotificationStatus" id="statusA" value="A" checked="checked" />

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

Sidebar

Related Questions

There is probably a quite logical explanation to this, but I have a question.
i'm using a JSpinner like a table cell editor, i have one annoying problem:
I find it sometimes annoying that I have to initialise all POD-types manually. E.g.
I've stumbled on a quite irritating problem; I'm trying to generate a binary of
I have a problem with a quite slowish MYSQL query. I'm building an AJAX
I have a site who's search ranking has plumetted. It should be quite SEO
I face a very annoying bug in D2007 IDE : It's the second time
I want to JOIN two table. Have no problem with that. I have problem
I'm writing a JSF 2.0 application with Hibernate and Postgresql database. My problem is
i am using a view that displays multiple items depending on user input and

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.