How to achieve this effect, for example, there is a set of radio buttons at the top, which are placed horizontally. Below is a form in a div layer. When the page is opened, no radio button is selected, and the form in the layer is displayed in gray, which means it cannot be clicked. Then, selecting any radio will show how different forms in the layer can achieve this effect.
For example, there is a set of radio buttons at the top, which are placed horizontally. Below is a form in the div layer.
When the page is opened, no radio button is selected, and the form in the layer is displayed in gray, which means it cannot be clicked.
Then, if you select any radio, different forms in the layer will be displayed without refreshing the page.
How to implement it?
------ Solution --------------------
ChangeForm.html
HTML code
CheckScript function changeForm (param) {document. getElementById ("ifr"). src = param;} scriptForm1 Form2 Form3
------ Solution --------------------
Decisive Ajax:
Reference;
Http://topic.csdn.net/u/20120513/19/6133363b-ea5a-4b36-b719-b0e8483a15e1.html
Http://topic.csdn.net/u/20120516/09/dd9c19b5-bbf3-4f1f-bdbb-d58ade236f5f.html