开发者

howto create an Ajax Popup Form and submit the form

开发者 https://www.devze.com 2022-12-16 15:46 出处:网络
I like to request a ajax-popup bij clicking on a link with variable. The popup will show some date req开发者_如何学Cuested from the server. After submit the data will be checked on the server and send

I like to request a ajax-popup bij clicking on a link with variable. The popup will show some date req开发者_如何学Cuested from the server. After submit the data will be checked on the server and send a responce back. Depending on the responce, new content will be showed in the popup. The user can close the popup afterwards.

I have searched a while for a tutorial or example, but i can't find any.

Who can give me an example or suggestion to startup?


Check into the jQuery UI Dialog widget. It can do what you need. You just put the controls, text, etc into a DIV, and then invoke the method to pop the dialog. Since the code is in a div, you can update it dynamically with the results of ajax calls as needed.

0

精彩评论

暂无评论...
验证码 换一张
取 消