0

I want to make a table with an instant search with input fields which are generated by the post() action and I want jQuery to recognize it but the problem is I'm stuck with "ready" action so I can't operate on new items like this one.

$(document).ready(
    function() { 
        $.post("trier.php",{trier: name},function(data,status) { 
            $("#aaa").html(data) 
        }); 
        $("#probleme").keyup(
            function() { 
                var name = $("#probleme").val(); 
                $.post(
                    "trier.php",
                    {trier: name},
                    function(data,status) { 
                        $("#aaa").html(data) 
                    }
                ); 
            }
        ); 
    }
);
Eddie
  • 26,593
  • 6
  • 36
  • 58

0 Answers0