开发者

Jquery library/plugin for interactive modal popup?

Wondering if there's 开发者_运维知识库any jquery library/plugin that can easily perform the following.

  1. At main page

Susan Liew (click here to update user profile)

When click, will trigger a lightbox type 2.0 style modal popup to show up a user profile modification form.

This should be ajax, jeffrey's user profile primary key will pass into the modal popup (for complete user details retrieval via database).

After editing.... click save will auto close and doesn't refresh the whole main page, but only refresh the this portion from

Susan Liew (click here to update user profile)

to

Susan Li (click here to update user profile)

At the same time, when modal popup, I want to make sure user not able to interact or press anything in main page.

How can I do that?

I have seen something like http://www.no-margin-for-errors.com/projects/prettypopin/ http://www.no-margin-for-errors.com/demos/prettyPopin/ajax/form.html

But it seem lack of ability to pass the pass in the keys into modal popup, and return value required into main page after the update done.


I would recommend jQuery UI Modal.

You might want to read this SO post:
What’s your favorite jQuery modal plugin?


You could do this with the jquery-ui project. It has modal dialogs whose content can come from an external source, events, effects and more.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜