Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
I want to click on a radio button

i am trying to click on Home Radio button, I try many methods that you can see inline // but i didn't get that. please tell me where I am doing mistakes.

  if (key==="bill-address") {
                    console.log("bill-address")
    
                    //setvalue(Data[key].formname, Data[key].value)
                    //$("[title='"+Data["dba"].formname+"']")[0].click()
                    $("[title='"+Data["bill-address"].formname+"']")[0].click()
                    //$("[title='"+Data[""].formname+"']")[0].click()
                    await wait(2000)
                }

i am trying to click on Home. please see the image

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

$("[title='"+Data["bill-address"].formname+"']")[0].checked = true;
about 4 years ago · Juan Pablo Isaza Report

0

Native JS solution:

 document.getElementById("_1234").checked = true;

JQuery solution:

 $("#_1234").prop("checked", true);

So in your case:

 $("[title|='"+Data["bill-address"].formname+"']")[0].prop("checked", true);
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!