I want to make multiple dialogs and with a default object for most common configuration. Can a configuration object be added in? I tried and this code fails:
var full_dialog = {
width: "200px",
height: "300px",
position: [0,100]
}
$('<div></div>').dialog({
title: 'Claim# '+ref_num,
full_dialog
});
I've used $.extend
to concatenate objects, I just wondered if there was a better way.