The following code is under a loop, that create n number of fields based on the drop down selection.
$titleSelector = cMultiField.find('[name="' + TITLE + '"]:last'); $titleSelector.val("Title1");
The methods used for dialog load & dropdown change are calling properly. But the add button click is not creating the dynamic multifield on the fly. I have tried mousedown() method for the $cAdd and it didn't work either.