Hello, I'm interested in learning how to AJAX a modal dialog. Typically if I wanted to add a modal dialog to my web site I added the jquery UI dialog code in my main JS file and binded it to an ID.
I believe with Rails I can create a Link, which fetches all the dialog code from the server and then opens the dialog.
Is this true?
If so, can you help me understand by providing a simple example of where everything lives in the rails MVC world?
Thanks