how to implement MVC in jquery

you could try backbone: https://backbonejs.org/

Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.


There are already a few MVC frameworks out there that are designed to work well with jQuery, maybe they're worth a look to you. Some suggestions:

http://www.javascriptmvc.com/

http://documentcloud.github.com/backbone/

[edit] sorry to sound a tiny bit repetitive of the first answer - I guess SO didn't pop its usual "someone answered this while you weren't looking!" warning.