getting value first offset name after click?
<p>How can get value <code>2011</code> in <code>input:name</code> with jquery?</p>

<pre><code>&lt;input type="text" name="hi[2011][]"&gt;
</code></pre>

<p><strong><a href="http://jsfiddle.net/QRkjs/" rel="nofollow">Example:</a></strong></p>

<pre><code>&lt;button&gt;Click me&lt;/button&gt;
&lt;input type="text" name="hi[2011][]"&gt;


$('button').click(function() {
    var f_offset = $('input').prop('name');
    alert(f_offset);
}
</code></pre>
