This topic is locked
[SOLVED]

read radio button value in javascript

11/7/2023 4:04:46 PM
PHPRunner General questions
francesco author

I used this:
var radiochecked = document.querySelector('input[name="integrated_edit_field10"]:checked');

but i have no value in radiochecked. Any suggest?

Admin 11/8/2023

My suggestion would be to start with built-in PHPRunner's Javascript API to get the value of the input control.

francesco author 11/8/2023

it works good, mistake was in name. Thanks anyway for reply