hai i have a page where i there is a single drop down box after the user finishes his selection the content of the selection should be returned on the same page to tell the user what he has selected........

well... you need to say a bit more to get a better answer probably...

"content of selection" - do you mean the VALUE attribute of the select element? If so then you don't need AJAX call at all.

If you do get a value from the server though - I recommend you return JSON to the client data structures - then it is easy to evaluate, and insert into the DOM.

If you provide more details I can possibly help you out more...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.