title: call a javascript pop up from html
body: <p>I want to call a javascript pop up onsame page by clicking hyperlink , called pop up should be a form not any alert message.</p>
  
  <p>Below is the code for hyperlink on which I want to call javascript:</p>
  
  <pre><code>&lt;a href="#" id="mylink" 
  onclick="display(document.getElementById(${legList.ledgerId}).value); 
  return false"&gt;${legList.ledgerName}&lt;/a&gt;
  </code></pre>
  
  <p>The above code is working fine but printing as a alert message.I am unable to get pop up as a form.Please help me with the code javascript which gets called on clicking hyper link and that pop up should be a form including some text fields for example reference.</p>
  
  <p>Thanks in advance.</p>