not execute a click event

not execute a click event

    Here my code:
    1. $(document).ready(function () {
    2.    $(".verDetalle").click(function () {
    3.       alert('111');
    4.       var widsala = $("#xcombsalas option:selected").val();
    5.       var whtml = '';
    6.       $.ajax({
    7.          method: "post",
    8.          url: "ajax/a_pallcmapasala.jsp",
    9.          data: {
    10.             "xidsala": widsala,
    11.             "xtypo": 3
    12.          }
    13.       }).done(function (xhtml) {
    14.          whtml = xhtml;//.responseText; 
    15. //        console.log(whtml);
    16.          document.getElementById("xtablaDispSalaDetalle").innerHTML = whtml;
    17.       }).fail(function () {
    18.          alert("error");
    19.       });      
    20.       
    21.    });
    22.    $('#xcombsalas').on('change', function () {
    23. //      alert('1');
    24.       var widsala = $("#xcombsalas option:selected").val();
    25.       var whtml = '';
    26.       debugger;
    27.       $.ajax({
    28.          method: "post",
    29.          url: "ajax/a_pallcmapasala.jsp",
    30.          data: {
    31.             "xidsala": widsala,
    32.             "xtypo": 1
    33.          }
    34.       }).done(function (xhtml) {
    35.          whtml = xhtml;//.responseText; 
    36. //        console.log(whtml);
    37.          document.getElementById("xtablaSala").innerHTML = whtml;
    38.       }).fail(function () {
    39.          alert("error");
    40.       });
    41.       $.ajax({
    42.          method: "post",
    43.          url: "ajax/a_pallcmapasala.jsp",
    44.          data: {
    45.             "xidsala": widsala,
    46.             "xtypo": 2
    47.          }
    48.       }).done(function (xhtml) {
    49.          whtml = xhtml;//.responseText; 
    50. //        console.log(whtml);
    51.          document.getElementById("xtablaDispSalaMaster").innerHTML = whtml;
    52.       }).fail(function () {
    53.          alert("error");
    54.       });      
    55.    });
    56. });
    The user click on SELECT/OPTION: id='#xcombsalas'

    the line:

     url: "ajax/a_pallcmapasala.jsp",

    build a html Table  with a button the class of the button is: 'verDetalle' see the line2:

    when the user click on 'VerDetalle' Button not display the alert..... not know why.

    i think when the user click on SELECT/OPTION: id='#xcombsalas' at this moment not know  exists the button and or event.

    any advice how to solve?

    thanks