(function($){       $.fn.getelements = function()    {            var elements = new Object();                this.each(function()        {            //console.log(this);            //console.log($($(this).get(0)) . find(':text,input:checked,select,textarea'));            $(this) . find(':text,input:hidden,input:checked,select,textarea') . each(function()            {                elements[this.name] = this.value;            });        });        //return this;        return elements;    };        $.fn.disableelements = function()    {                this.each(function()        {            $(this) . find(':text,input,select,textarea') . attr('disabled', true);        });        return this;    };        $.fn.enableelements = function()    {                this.each(function()        {            $(this) . find(':text,input,select,textarea') . attr('disabled', false);        });        return this;    };})(jQuery);//$(document.forms.form_razdel).getelements();
