title: html button onclick function is not working in html.erb environment
body: <p>I want to execute a jar file after getting some input from the web page on button click in html.erb environment(ruby on rails). But it runs the jar file at the time of loading the page (even before button click and button is not working after I clicked).</p>
  
  <pre><code>&lt;br&gt;
  &lt;div&gt;
    &lt;div class="input-group"&gt;
      &lt;button class="btn btn-info unpressed" type="button", onclick="&lt;%= %x(java -jar /home/Dev/Desktop/justButton/conceptMapEditor/public/demone.jar) %&gt; " style="width:50%"&gt;CJF&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>