I am using JQuery trigger but am not sure what the correct syntax is to pass parameters in my situation. Here is where I am making the call :
$('#'+controlName).trigger(event);
下面是我进行事件绑定的地方:
$(window).on('onPartialRendered', onPartialRendered);
下面是我的事件处理程序:
var onPartialRendered = function () {
.....
};
Everything works fine until I try to pass parameters. What would be the correct way to do it as per my example?