Hi All,
I have created dropdownlist controls dynamically which I am displaying in popup window. I want to find out this all controls on specific button click event.
I tried below different way but I am unable to find out this control.
var $formElements = $('#popup-window').find(':input').filter(function () {
return $(this);
});
var name = [];
var input = $('#popup-window').find("select").each(function (i) {
name[i] = $(this).attr('id');
});
name = $.map($("div[id*=popup-window").find("select"), function (item, index) {
return $(item).attr("id");
});
So can you please help me how to find Dropdownlist control from popup window.
Thanks-
Atul K.
I have created dropdownlist controls dynamically which I am displaying in popup window. I want to find out this all controls on specific button click event.
I tried below different way but I am unable to find out this control.
var $formElements = $('#popup-window').find(':input').filter(function () {
return $(this);
});
var name = [];
var input = $('#popup-window').find("select").each(function (i) {
name[i] = $(this).attr('id');
});
name = $.map($("div[id*=popup-window").find("select"), function (item, index) {
return $(item).attr("id");
});
So can you please help me how to find Dropdownlist control from popup window.
Thanks-
Atul K.