title: JQuery syntax error when selecting element of the same name
body: <p>I want to select input with the same name, but get syntax error:</p>
  
  <pre><code>$("input[name=$(this).prop('name')]"); 
  </code></pre>
  
  <p>But I am able to get string by <code>$(this).prop('name')</code>.
  <br></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Thank you for all your answers. I think they all work. But could anyone explain why the two plus sign at beginning and end make the jquery code parsed inside string? Reference will be appreciated, thanks 
  <br></p>
  
  <p><strong>EDIT2:</strong><br></p>
  
  <p>I know plus sign is for string concatenation. But in this case, nothing is before the first + or after second +. So what are being concatenated here? Sorry if the question looks too naive</p>