code not working without alert in JQuery and asp.net mvc
Hello All,
I am working on JQuery but am getting problem while running the code .
If I add alert in code then only below code works but I don't want this.
I want to work this code without alert. Please help me for the same
Below is my code:
- /* Add a select menu for each TH element in the table footer */
$("#dvddl div").each(function (i) {
alert("test");
this.innerHTML = fnCreateSelect(oTable.fnGetColumnData(i));
$('select', this).change(function () {
oTable.fnFilter($(this).val(), i);
});
});