title: How to call a jsp page in a popup from JS
body: <p>I tried with windows.location but it opening in new tab. But i want to open it as pop up. I tried with:</p>
  
  <pre><code>function update(expenseId){
      alert("test" + expenseId);
      window.location.href("/jsp/user.jsp","height=400,width=400");
  }
  </code></pre>
  
  <p>but this also throwing window.location.href not a function error. please help with this.</p>