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 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

I have this quite popular problem, but have failed to find a solution that
I didn't find information on this annoying problem, and it seem quite common to
This has really been annoying me and it is quite important for me to
This problem is quite annoying and I've been slamming up against it for a
This problem has been afflicting me for quite a while and it's been really
I noticed people wrote about this circular reference problem quite a bit before but
The problem is probably quite simple. $q = SELECT id FROM users WHERE name
I have a problem that is quite simple to understand, but for me it
I am having a quite annoying problem. I want to get the current date/time
I'm having a quite annoying problem with iOS 6.0. Everytime the IUDevice orientation changes

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.