I have struggled so long with this problem, so that i have to ask your help. In my current project i have to make dynamically new submit buttons, but problem is that i cant get button presses. Here is demo what i made.

**HTML**

```
<button id="AddButton">Add Input</button>
<br />
<br />
<div>
   <input type="submit" name="Button[]" id="Button-0" value="Button 0"> <br />
</div>

```

**jQuery**

```
var i = 0;

$('#AddButton').click(function() {
  ++i;
  var newInput = '<input type="submit" name="Button[]" id="Button-'+i+'" value="Button '+i+'"> <br />';
  $('div').append(newInput);
});

$('input').click(function() {
  var inputID = $(this).attr('id');
  alert(inputID); 
});

```

**Demo**
<http://jsfiddle.net/9pR87/71/>

I made easy debug. Every input press makes alert, and as you can see, jquery made submits doesn't make any alerts.