Hi,
So far the progess is as below :
(function(document, $) {
$(document).on("foundation-contentloaded", function(e) {
showHide();
});
function showHide() {
var numberOfFields = $("[name='./Selection']").val(); // here I am getting the value selected in the dropdown field
if (numberOfFields === 'value1') {
alert('condition satisfied');
}
}
})(document, Granite.$);
This code runs through fine, but the container nodes x and y do not appear in dialog.