Ajax Multiple forms

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
BrazilianMan
Forum Newbie
Posts: 1
Joined: Wed Nov 19, 2008 12:58 pm

Ajax Multiple forms

Post by BrazilianMan »

Hi there I'm a complete noob on PHP and what I'm trying to accomplish is to have a dropdown and when you pick an item on the dropdown the content below changes.

lets say that we have [webmaster - info - customer services - feedback] in the dropdown
depending on the option the form below should change. It's a email form and we are not storing any info in the DB

Thanks in advance
User avatar
andyhoneycutt
Forum Contributor
Posts: 468
Joined: Wed Aug 27, 2008 10:02 am
Location: Idaho Falls

Re: Ajax Multiple forms

Post by andyhoneycutt »

It doesn't necessarily sound as though what you're trying to accomplish should be done using AJAX. I would just write a simple javascript to toggle the visibility of say a div containing the form you wish the user to submit. Also, please, for future reference, post your questions in the proper forum as it helps people find answers to questions and questions to answer much more easily if they are neatly arranged.
Post Reply