title: How can I get a value from EL in JavaScript
body: <p>I pass a map object called <code>student</code> to the jsp and the student has some property like <code>NAME,SEX,ADDRESS,PHONE</code> and so on.Now in the js function I want to get some property from the student.At first,I try to code like this,but it do not work.How to fix my code?</p>
  
  <pre><code>//get the value from the key,I write "${student.NAME}" is OK.
  function initSelection(key){
  console.log("key:"+key+"value:"+("${student."+key+"}")); 
  }
  $(function() {
          initSelection("NAME");
          initSelection("SEX");
          initSelection("PHONE");
  }
  </code></pre>