title: Javascript - how to handle the single quote?
body: <p>When i click the following it fails.</p>
  
  <p>php render/html:</p>
  
  <pre><code>&lt;div class="a" onclick="test('25', 'l'Espagne')" &gt;
  </code></pre>
  
  <p>js: </p>
  
  <pre><code>function test(id, name) {
    alert(name); 
  }
  </code></pre>