How to get id as variable?

How to get id as variable?

Hi everybody,
I have the code <input name='t[]' type='text' id='a_$element' value='$value'  />
$element is integer as 1,2,3 ...
$value the value when I input
Please could anybody show me : How can I get by id in jQuery?