title: JavaScript/Html - onclick variable as arg1?
body: <p>I try to get a value inside into an onclick event. </p>
  
  <pre><code>&lt;a href="#" onclick="ChatRequest('id','{session.member_id}');"
  </code></pre>
  
  <p>Secondaryid has a value
  But firstid not. I get only the name not a value.
  Have anyone Advice for me.</p>
  
  <pre><code>function setConversation(id) {
    conversation_partner = id;
    $('#conv_messages_list').html(getConvLoader());
    $('#conv_member_list li').removeClass('active');
    $('#conv_partner_'+id).addClass('active');
    $('#conv_members').addClass('hidden-xs');
    $('#conv_messages, #conv_dd').removeClass('hidden-xs');
    getMessages(id,0);
  }
  </code></pre>