I am in the progress of building a new website; the layout and stuff is already done for the most part, but I am having a problem with the two order forms on my website. Well not the forms themselves, more with how they appear (and disappear).
Like stated I have 2 forms on my website. When coming to my website they should be hidden (standard). When someone wants to order they press the link for order form A or form B.
From here I am running into several problems.
Problem #1
I want each form only to appear when they click on a link.
For example; when a person clicks on link 1 form A appears. If they click on link 2 form B appears.
Problem #2
If form A appears and they click on link 2, than form A should disappear and form B should be visible and the other way around.
Problem #3
Is it possible to load a page within the DIV for example I want form B to include extra-info.php. Is this possible?
If I understand correctly the above would be possible with Javascript and with the use of hidden DIV's. But I really don't know much about Javascript to pull this of myself.
I was wondering if the above would be possible. If yes, how would I be able to do this?