For example, there is such an object
Project.Module.Contact = { Init : function() { this.Validate(); }, Rules : { // Code }, ContactForm : $('#contact-form'), ResponseCont : $('#response-cont'), Validate : function() { this.ContactForm.validate(this.Rules); this.ContactForm.submit(this.FormSubmit); }, FormSubmit : function(e) { e.preventDefault(); if (!$(this).valid()) return; $.post(this.action, $(this).serialize(), this.AjaxResponse); }, AjaxResponse : function(response) { // Code } } Of course, it will not work, because in the "FormSubmit" this will give us the form itself and this: this.AjaxResponse will not work, you can contact so Project.Module.Contact.AjaxResponse will work this way, but I do not think that write such long lines well, what can you do? how to apply differently?