How to select element after the page has loaded?

I use jQuery 1.5.2 after downloading the page perform AJAX that loads inrut[type=radio], his choice should be to pin the event. Did
$('.programm-item').click(function () {
but as it was later added he is not available, so I did so
$('body').on('click', '.programm-item', function () {

but get Uncaught TypeError: undefined is not a function
the question how to hang an event on this input?
September 19th 19 at 12:22
1 answer
September 19th 19 at 12:24
Solution
For example, so.

Method on was added in jquery version 1.7, so use the methods bind \ live. In General, I would advise to upgrade at least to version 1.8.

Find more questions by tags HTMLjQuery