How can I take contents of one element and add to another when they both have an id ending in the same two or three digit number?
<p>I have this code:</p>

<pre><code>$('.update-title')
    .change(function () {
        $(this).prop('title', $('option:selected', this).prop('title'));
    });
</code></pre>

<p>and this HTML:</p>

<pre><code>&lt;select id="modal_TempRowKey_14" class="update-grid update-title"&gt;
...
...
&lt;/select&gt;

&lt;input id="modal_Title_14" class="update-grid" type="text" value="xx"&gt;
</code></pre>

<p>Is it possible for me to make it so that when the .update-title changes 
then the value of the title is put into the input id with the matching number. 
So in this case the <code>#modal_TempRowKey_14</code> title would go into <code>#modal_Title_14</code> value</p>

<p><strong>Important</strong></p>

<p>I want this to happen only if the element being changed starts with <code>modal_TempRowKey</code>. Is this possible to put into the change block?</p>
