see [login to view URL] for an example
Description of Work Needed:
If user clicks no, page submits to next page - this is not to change.
If user clicks yes, it shows the iFrame. I would like the javascript to keep the page within the iFrame from loading until the user clicks 'Yes'. As it is right now, when the parent page loads, it also loads the contents of the iFrame. This is unnecessary if the user is going to click no because she will never see the contents of the iFrame.
I am currently using a freeware javascript ("js/usableforms.js") to handle the hide/display function associated with the clicking of the yes/no radio buttons.
In some cases, I may not load an iFrame when the user clicks 'Yes'. I may show regular html instead. In these cases, the current freeware javascript interferes with the form validation of the regular html, causing a browser error.
I would like to have a javascript programmer create custom js functions to duplicate the functionality seen here. In addition, if an iFrame is loaded, I do not want the page within the iframe to load unless the user clicks 'Yes' and the iFrame is displayed.
Javascript should work as expected across all modern browsers/OS's.