Hello everyone, I have a html page with a form. I need to verify the existence of a radio button to the form, if it exists activate it and click on submit.
Is the form that the radiobuttons have an id (id = "formid", id = "radio1"). Sometimes the radio button is not visible. What I want to do is to check if it exists and if necessary activate it and click the submit button. But the button does not have an id, and looks like this:
<a href="#" onclick="document.forms.status.value='reserve';document.forms.submit();return false;" class="btn_h32"> <b> Submit </ b> </ a>
how can I do?
Sry for my english