IT:AD:JScript:HowTo:Set Properties of one object with properties of another
Summary
Process
for (var attrname in obj2) { obj1[attrname] = obj2[attrname]; }
it:ad:jscript:howto:set_properties_of_one_object_with_properties_of_another
for (var attrname in obj2) { obj1[attrname] = obj2[attrname]; }