$(document).ready(function(){
$('.requiredclass').keyup(function() {
$(this).pluginMethod();
});
});
(function($) { //i Want try catch block for this part
// jQuery plugin definition
$.fn.pluginMethod = function(e) {
return this.each(function() {
var $this = $.this;
var som= $this.val();
//My Code goes here
});
};
})(jQuery);