I have two JavaScript objects:
var attributes1 = {
"type": "text/css",
"rel": "stylesheet",
"href": baseUrl + "Styles/HtmlLibrary.css"
};
var attributes2 = {
"type": "text/css",
"rel": "stylesheet",
"href": baseUrl + "Styles/jquery.contextMenu.css"
};
I there any way to combine the two objects into one object that has two subobjects (associative arrays)? I want to loop throgh it and get each time one set of attributes?
Thanks