Acting on events fired by templated controls
Hello all,
I try to hook up to the change event of a select control. The template for the control is outside of my page and injected via:
$.get('templateResource.html', function (ReceiptRow) {
$.tmpl(ReceiptRow, array).appendTo("#tblReceipts"); });
The template is rendered correctly to the page but I do not get informed.
The alert is not fired in both ways:
$(".ddlCurrency").live("change", function () { alert("ddlCurrencySelectedIndexChangedViaLive"); });
$(".ddlCurrency").change(function () { alert("ddlCurrencySelectedIndexChanged"); });Do I miss something here?
Your help is appreciated!