title: how to pass variable in {{ }} to onclick="loadDoc3()" in django
body: <p>This is a function in my views.py:</p>
  
  <pre><code>def boxes(request):
      v = request.META['PATH_INFO']
      v = v[7:]
      list = v.split('-')
      os = list[0]
      sh = list[1]
      return render(request, 'boxes.html', {'os': os, 'sh': sh})
  </code></pre>
  
  <p>In boxes.html:</p>
  
  <pre><code>&lt;input type="submit" onclick="loadDoc3( {{ sh }} )" value="other cities"&gt;
  </code></pre>
  
  <p>It does not work. How can I send the <code>{{ sh }}</code> variable with onclick, to the <strong>loadDoc3</strong>, which is ajax function?</p>