```js
function edt(dt){
  isi = $(".jml").val();
  alert(isi);
}
```

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<tr>
  <td><input class="jml" id="edt1" value="1"/></td>
  <td><button id="edt1" onClick="edt(this.id);">btn 1</button></td>
</tr>
<tr>
  <td><input class="jml" id="edt1" value="2"/></td>
  <td><button id="edt2" onClick="edt(this.id);">btn 2</button></td>
</tr>
```

i am trying to get value from that have same id with the which I've clicked.
at that script, eventhough I clicked btn 2, there was appear value of first 
please help me.. thanks!!