This is a pretty basic question but I can\'t find a good answer for it. I have a page in my Rails app where there are many objects that can be \'flagged\'. Clicking the fl
jQuery UI also has a Dialog widget that works really well for this sort of thing. It's a nice widget and you can customize your jQuery UI library to include (or exclude if you want a slimmer javascript passed to the browser) other handy widgets as well (accordion, progressbar, etc)
Check out the Dialog examples at jQuery Dialog