I am trying to create an object with selectors inside. The first one is the context selector which I want to use within the object itself. How can I reference this key within the object?
var options = {
elements: {
"context": $('form#someForm'),
"someDropdown" : $("#someDropDown", this.context),
"someContainer" : $('div#someContainer', this.context),
},
constants: {
buttonImageLocation : 'image.jpg'
}
};
Thanks