I have a form. Upon submit, the data is sent to the server. Under certain conditions, the form is replaced via ajax with a set of radio buttons that offer the user a a choice.

I need to access the radio buttons before I submit the form again.
Normally I could just access the buttons with getelementbyid but it is not available, presumably because they were generated via ajax.

I could submit the form just to access the radio buttons and then submit it again, but I'd like to avoid that.

How do I do this?

Reply via email to