The test case is I've a table in a form. The rows are generated dynamically. Right now with plain html + javascript I've like this,

```
<tr>
    <td>
        <select id="brand_1" name="brand[]" onchange="brandChanged(1)">
            //some options
        </select>
    </td>
    <td>
        <select id="model_1" name="model[]">
            <option>Default Value</option>
        </select>
    </td>
</tr>
<tr>
    <td>
        <select id="brand_2" name="brand[]" onchange="brandChanged(2)">
            //some options
        </select>
    </td>
    <td>
        <select id="model_2" name="model[]">
            <option>Default Value</option>
        </select>
    </td>
</tr>

```

When the `brandChanged(x)` method is triggered it gets the options from another file with an ajax request and adds them to `model_x` select element.

Everything is working fine, but my question is how to do it with jQuery? I mean what's the way to bind `.change()` to these input elements Also I don't like naming ids in `name_id` way. Is there a better design to solve this?