title: How to define an input id in javascript?
body: <p>Hi i am not good in javascript. This is a part of code from my ajax search auto-suggest and i need to replace "word" text with the text that comes from input. How can I do that?</p>
  
  <pre><code>&lt;input type="text" id="selectedInput"/&gt;&lt;ul id="list"&gt;&lt;/ul&gt;    
  &lt;script&gt;    
  var keyword = "word";  (wrong code)      
  url: "http://itunes.apple.com/search?term=" + keyword + "&amp;entity=musicTrack",
  ..
  </code></pre>
  
  <p>See <a href="http://jsfiddle.net/coladeu/Qhj5N/3/" rel="nofollow">http://jsfiddle.net/coladeu/Qhj5N/3/</a></p>