Hi,all..
A user has helped me find hidden values in a page and display it using alert. If there are radio buttons and one of them is related to this value,is there a way to select the radio button automatically rathar than displaying the value in alert box.. Thanks...
the code is as follows:
var inputs = document.getElementsByTagName('input');
for (i=0; i<inputs.length; i++) {
if (inputs[i].getAttribute("name") == "ans") {
alert(inputs[i].getAttribute("value"));
}
}
this "value" must be selected in the radio button rather than alerting...
the html code is here:
Thus i need the option with value "Underlying Unity of Human Behaviour" to be checked after the page loads.. Thanks
Regular Index 3. Which is the basic assumption of case study? Data Necessity Observation Underlying Unity of Human Behaviours