In my previous post, I had shown how to populate a select box dynamically using jQurey. Here is the same thing as jQuery plugin.

http://jsfiddle.net/deepumohanp/kNQ6s/