title: How to get a html element by name
body: <p>Is there a way in java script to get only a particular name instead of using <code>document.getElementsByName("x");</code> which return an array? I have a kind of special situation where i can’t use the id. Any suggestions please?
  Thank You.</p>