Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table id="info">
- <% for (int i = 0; i < 15; i++) {%>
- <tr>
- <td>
- <select name="prefix<%=i%>" class="form-control">
- <option>044</option>
- <option>51</option>
- <option>555</option>
- <option>43</option>
- <option>33</option>
- <option>66</option>
- </select>
- </td>
- <td>
- <input name="phone" id="number<%=i%>" type="text" onblur="test2()" class="form-control input" >
- </td>
- <td>
- <select name='status<%=i%>' class="form-control">
- <option>The number is belong to man</option>
- <option>Out of area</option>
- <option>Dialed already</option>
- <option>The number is not defined</option>
- </select>
- </td>
- <td>
- <textarea id="desc<%=i%>" class="form-control" rows="3"></textarea>
- </td>
- </tr>
- <%}%>
- </table>
- $('#info tbody').on('click', 'tr', function() {
- var $td = $(this).closest('tr').children('td');
- var clId = $td.eq(0).attr('id');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement