I found this excellent plugin for ajax pop up for MVC called SimleModal, but am not able to get it to work. http://www.ericmmartin.com/projects/simplemodal/ is the website.
I want to use this plugin to pop up a view (in MVC) when a link is clicked on. Can any one show me the right direction here.. thank you..sample pseudo code?
Why not just use the built in jQuery-ui? Simply call $(‘#someDiv’).Dialog(…) to make it work. Then you can use the jQuery theme roller site as well to customize your look – and you are dealing with ‘base line’ jQuery code.
To keep the same example syntax like Darrin added above for ease of comparison see below.
Configure your widget options and download them (you can choose from a whole lot of widgets – just the dialog if youd like or others
Do this at: http://jqueryui.com/download
Make sure you reference the css file, jquery, and the jquery ui. Download the jQuery ui and put the /images folder into your /content folder as well as the css file.
Ensure you are linking in the files (I chose google for the second file – you can choose your own local if you’d like)
calling it is as simple as:
For more details on the dialog see: http://docs.jquery.com/UI/Dialog