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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:17:58+00:00 2026-05-10T23:17:58+00:00

I’ve got code similar to the following… <p><label>Do you have buffet facilities?</label> <asp:RadioButtonList ID=blnBuffetMealFacilities:chk

  • 0

I’ve got code similar to the following…

<p><label>Do you have buffet facilities?</label>   <asp:RadioButtonList ID='blnBuffetMealFacilities:chk' runat='server'>     <asp:ListItem Text='Yes' Value='1'></asp:ListItem>     <asp:ListItem Text='No' Value='0'></asp:ListItem>   </asp:RadioButtonList></p> <div id='HasBuffet'>   <p><label>What is the capacity for the buffet?</label>   <asp:RadioButtonList ID='radBuffetCapacity' runat='server'>     <asp:ListItem Text='Suitable for upto 30 guests' value='0 to 30'></asp:ListItem>     <asp:ListItem Text='Suitable for upto 50 guests' value='30 to 50'></asp:ListItem>     <asp:ListItem Text='Suitable for upto 75 guests' value='50 to 75'></asp:ListItem>     <asp:ListItem Text='Suitable for upto 100 guests' value='75 to 100'></asp:ListItem>     <asp:ListItem Text='Suitable for upto 150 guests' value='100 to 150'></asp:ListItem>     <asp:ListItem Text='Suitable for upto 250 guests' value='150 to 250'></asp:ListItem>     <asp:ListItem Text='Suitable for upto 400 guests' value='250 to 400'></asp:ListItem>   </asp:RadioButtonList></p> </div> 

I want to capture an event when the radio list blBuffetMealFacilities:chk changes client side and perform a slide down function on the HasBuffet div from jQuery. What’s the best way to create this, bearing in mind there are several similar sections on the page, where I want questions to be revealed depending on a yes no answer in a radio list.

  • 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. 2026-05-10T23:17:58+00:00Added an answer on May 10, 2026 at 11:17 pm

    this:

    $('#rblDiv input').click(function(){     alert($('#rblDiv input').index(this)); }); 

    will get you the index of the radio button that was clicked (i think, untested) (note you’ve had to wrap your RBL in #rblDiv

    you could then use that to display the corresponding div like this:

    $('.divCollection div:eq(' + $('#rblDiv input').index(this) +')').show(); 

    Is that what you meant?

    Edit: Another approach would be to give the rbl a class name, then go:

    $('.rblClass').val(); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 70k
  • Answers 70k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Yes. You'll want to make sure that you call myCommand.Parameters.Clear… May 11, 2026 at 12:49 pm
  • added an answer I came back to this after a few days busy… May 11, 2026 at 12:49 pm
  • added an answer Yes it is feasible. Google has done that (and it… May 11, 2026 at 12:49 pm

Related Questions

I keep getting tasks that are above my skill level. How can I address this without coming accross as grossly incompetent?
I have a web-service that I will be deploying to dev, staging and production.
I'm thinking of starting a wiki, probably on a low cost LAMP hosting account.
I have the following tables in my database that have a many-to-many relationship, which
I'm using the RESTful authentication Rails plugin for an app I'm developing. I'm having
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
Which graduate program should I choose – SUNY Buffalo or SUNY Binghamton?

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.