Here is the mistake:
$('document').on("click", '#cmdUpdatePhone', function (e) {
alert("click bound to document listening for #test-element");
});
you don't need to use quotes with the document as document is not a html tag, do like this:
$(document).on("click", "#cmdUpdatePhone", function (e) {
alert("click bound to document listening for #test-element");
});
or you can do like this:
$('body').on("click", "#cmdUpdatePhone", function (e) {
alert("click bound to document listening for #test-element");
});