title: Store div id value in a variable in JS/JSP
body: <p>I have retrieved the value of postCode and assigned the same in </p>
  
  <p><code>document.getElementById("zipCode").innerHTML=postcode;</code></p>
  
  <p>I am able to access the same using <code>&lt;div id="zipCode"&gt;</code>. I want to store the value of ZipCode in a variable or a <code>dsp:param</code> value in JSP such that i can pass this value in my nested JSP(s). Any help regarding this will be highly appreciated.</p>