title: how to pass string in onclick function html
body: <p>I tried with old question, there they passing the value in js to js.But I would like to pass string from html to javascript. but it gives </p>
  
  <blockquote>
    <p>Uncaught reference error</p>
  </blockquote>
  
  <p>my <code>html</code> is </p>
  
  <pre><code>&lt;a href="#" onclick="test(TEST123)"&gt;
  </code></pre>
  
  <p>and my <code>javascript</code> is,</p>
  
  <pre><code>function test(p){
     alert(p)
  }
  </code></pre>
  
  <p>how can I pass the string></p>