Link to home
Start Free TrialLog in
Avatar of Ashok
AshokFlag for United States of America

asked on

How to show one form?

http://cheaphotfare.com/index.php

By the way, it is working fine on the above link which is my customer's old site and I am making new Website in ASP.NET for him.

By default, Roundtrip is selected and appropriate FORM is shown.
When other option is clicked, other FORM is show at exactly same position and previous FORM is hidden.

How do I do this in ASP.NET?

Thanks,
Ashok
ASKER CERTIFIED SOLUTION
Avatar of Michael701
Michael701
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ashok

ASKER

so 'round_trip' would be the id for <div>, right?

Thanks
Ashok
Avatar of Ashok

ASKER

My new project is in ASP.
Old project is in PHP.

But you are right about clients side JavaScript.

Thanks,
Ashok
Yes, you'd have the html
<div id='round_trip'>
then the html for the return trip fields
</div>
Avatar of Ashok

ASKER

One more question.

Would all the divs would be one after another vertically placed (at design time in VS 2010)?

and

if I have 4 divs
when, where (apsx/aspx.cs/Javascript/which event/which property/html) and how would I make 3 hidden to start with?

An example code would greatly help.

Thanks,
Ashok
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ashok

ASKER

Thanks a lot.

I can manage it now.