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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:53:15+00:00 2026-06-14T09:53:15+00:00

I have a page that is checking the state of controls in a jQuery

  • 0

I have a page that is checking the state of controls in a jQuery load function.

This was working perfectly but have now noticed that it doesn’t in IE.

$g(window).load(function() {
   var one = $find("<%= rb1.ClientID%>");
   var two = $find("<%= rb2.ClientID%>");
     alert(1);
        if (one.get_checked()) {      
            alert(2);
            $g('[id$="div1"]').hide();
            $g('[id$="div2"]').show();                    
        }
        else if (two.get_checked()) {   
            alert(3);
            $g('[id$="div1"]').hide();
            $g('[id$="div2"]').show();                
        }     
});

In IE the contol state checks are never hit (i.e. I never see an alert for 2 or 3 but do see the alert for 1)

In other browsers I don’t have any problems and all works as expected. Is there a better way for me to implement the above.

Thanks.

  • 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-14T09:53:16+00:00Added an answer on June 14, 2026 at 9:53 am

    It seems that this is a problem with the Telerik controls. In order to get around the issue I am calling a function on the radio button controls OnClientLoad command rather than the window.onload

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

Sidebar

Related Questions

I have a page that uses another page via the include() function. The page
I have a page that looks like this: Head and body tags... <form runat=server>
So, I have a page that loads and through jquery.get makes several requests to
Can't seem to get this one to work... I have a page that hides
I have a page that I restrict access to by checking if a certain
I have a login control in login.aspx page that validates user by checking in
I have a page that builds out a table. Nothing else on that page
I have a page that lets the user edit the content of the page
I have a page that uses the Telerik RadListView control and a Telerik RadDataPager
I have a page that I want to update non stop, every few seconds.

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.