我想模拟更改触发器。我想最后触发我的更改代码。我想更改所有未禁用的输入。
$('selector').load().each(function () {
if ((typeof $(this).attr("VALUE") != 'undefined') && ($(this).attr("disabled") != 'disabled')) {
//do something ...
//then I want to simulate Trigger with something like that:
$(this).val(0);
$(this).val(tmp);
//here i want code, that will triger my code on the end
}
$("selector").bind('change', function () {
// alert("change");
CF_change($(this), "CF", clientCulture);
SaveData($(this).attr('id'), $(this).attr('str_id'), $(this).val(), 0, '');
});
}