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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:28:38+00:00 2026-06-08T10:28:38+00:00

how to recognize selected radiobutton value or check condition. i have been developing some

  • 0

how to recognize selected radiobutton value or check condition. i have been developing some below codes but i can not realise why if i check IsPerDay,
IsPerDay not return to controller checked. how to see radiobutton check or unchecked in controller?

View

<script type="text/javascript">
    function EveryDay() {
        document.getElementById('RdIsPerDay').checked = true;
        document.getElementById('RdIsPerWeekDay').checked = false;
        document.getElementById("txtPerDay").style.visibility = 'visible';
        document.getElementById("lblPerday").style.visibility = 'visible';
    }
    function EveryWeekDay() {
        document.getElementById('RdIsPerDay').checked = false;
        document.getElementById('RdIsPerWeekDay').checked = true;
        document.getElementById("txtPerDay").style.visibility = 'hidden';
        document.getElementById("lblPerday").style.visibility = 'hidden';
    }
</script>


  • 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-08T10:28:40+00:00Added an answer on June 8, 2026 at 10:28 am

    You are not assigning any value to the radio button. Add this to your code and check :-

    <script type="text/javascript">
        function EveryDay() {
        document.getElementById('RdIsPerDay').checked = true;
        document.getElementById('RdIsPerWeekDay').checked = false;
        //add this to your code
        document.getElementById('RdIsPerDay').value= true;
        document.getElementById('RdIsPerWeekDay').value= false;
    
        document.getElementById("txtPerDay").style.visibility = 'visible';
        document.getElementById("lblPerday").style.visibility = 'visible';
    }
    function EveryWeekDay() {
        document.getElementById('RdIsPerDay').checked = false;
        document.getElementById('RdIsPerWeekDay').checked = true;
        //add this to your code
        document.getElementById('RdIsPerDay').value= false;
        document.getElementById('RdIsPerWeekDay').value= true;
    
        document.getElementById("txtPerDay").style.visibility = 'hidden';
        document.getElementById("lblPerday").style.visibility = 'hidden';
    }
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Another newbie question... The script (below) compares selected text in one div with some
What do I do get the dropdownlist to recognize it has a selected object?
Can android recognize more than two simultaneous touches (3, 4, etc...)? Is the number
ReShaper can automatically recognize if states on enums and offer to convert them to
Can anybody recognize the 2 fonts on this logo? http://www.networkdance.com/logo.jpg
How can I recognize (.NET 2 ) a generic class? Class A(Of T) End
I need to recognize some elements drawn with user's finger on device's screen. For
My problem is quite annoying, probably something really stupid but I've been going around
I developed an application that is able to recognize the color of a selected
There is a component that I have been using since IE7 and had never

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.