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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:28:52+00:00 2026-05-27T14:28:52+00:00

I have three radio button <input type=radio id=pp />Product <input type=radio id=pr />Price <input

  • 0

I have three radio button

<input type=radio id=pp />Product
<input type=radio id=pr />Price
<input type=radio id=bb />both

So if I click on product it is showing me product, if I select price it is showing price of product , if both showing both price and product for the product which i enter in text box.

What I want if I am using only keyboard , I type some prefix in text box like pp for product , pr for price and bb for both. So if pp then radio Product should get selected and others de-select. want same for others

  • 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-27T14:28:53+00:00Added an answer on May 27, 2026 at 2:28 pm

    this you can easily achieve with jQuery.

    have same name or class for all textbox which you want to run the functionality and make following code

    $(function() {
        $(".classnameoftextbox").change(function() {
            var txtVal = $(this).val();
            try  {
                $("#"+ txtVal).attr('selected', true);
            }
            catch(ex)  {}
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a group of three radio buttons. Depending on which radio button is
I have three radio buttons with same name and different values.When I click the
I need to find the input type for radio buttons, text, and selects. Its
I have a input type radio with it's value. <input type=radio name=myradio id=radio1 value=someValue
I have some jQuery code that highlights which radio button is checked by turning
I have the following fields: <label>Company Type:</label> <label for=primary><input onclick=javascript: $('#sec').hide('slow');$('#primary_company').find('option:first').attr('selected','selected'); type=radio runat=server name=companyType
On one part of my website, I have a text label, a text input
I want to toggle two radio buttons and select fields based on which radio
I want to have 3 radio type buttons on my web page. If I
I have a series of radio buttons (rdoGroup1,rdoGroup2,rdoGroup3) and three textboxes at the end

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.