title: How to Pass string value as parameter in javascript?
body: <p>This is my code:</p>
  
  <pre><code>    var Area = "000000002";
      &lt;a class='button orange' id='proceed' onclick='testFunction("+Area+")' href='javascript:;'&gt;Proceed&lt;/a&gt;
  </code></pre>
  
  <p>Now when this value is sent to the next function i.e ....</p>
  
  <pre><code>    function testFunction(Area)
      {
      alert(Area)
      }
  </code></pre>
  
  <p>In this case I get the value 2....what i should be getting is 000000002....</p>
  
  <p>So i guess it is not being sent as a string.</p>
  
  <p>I need to know how to get the value 000000002 is the testFunction...</p>
  
  <p>Thanks in advance... </p>