Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup window with AJAX

Status
Not open for further replies.

meenu24

Programmer
May 5, 2006
37
US
I have a submit button , when I click it, I have to go to DB and fetch data and present in a popup window.
Since a DB operation is involved I beleive that AJAX will be a better solution. Please let me know how to do it, since I am a newbie to AJAX and UI.

Thanks
Meena
 
Why don't you do just the smallest bit of work for yourself on this? There are plenty of resources you can use (printed and electronic) to get more familiar with AJAX.

When you have a specific problem, then by all means ask (and this is indeed the right forum)... there are plenty of working examples and threads in this forum alone that discuss this kind of activity in more detail.

Let us know of any specific problems you have, but don't expect the code to "write itself".

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
As mentioned above we need to know specifics. What server side language are you using? What DB? How far along have you gotten (are you stuck on one part)?

J
 
Since a DB operation is involved I beleive that AJAX will be a better solution.

It might not be better - if you're struggling with AJAX, why not do it the conentional way (post form, return to page, open popup)?

Just because AJAX is available, doesn't mean you absolutely must use it.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Thanks for your suggestions, I am using java script and JSP to do this.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top