title: How to pass a string value dynamically to a <div>(html)?
body: <p>In the html.erb file of rails app, I have a  html element. I want to pass the id to this div at run time. How can I achieve this? The below method does not work.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var s = 'SkypeButton_Call_' + 'dsdsaf'+ '_1'
  &lt;div id=s&gt;&lt;/div&gt;
   &lt;/script&gt;`
  </code></pre>
  
  <p>Thanks</p>