title: Open another ejs file in button ejs
body: <p>I have an index.ejs file in my NodeJS application. Inside index.ejs file, I want to use a button to open another ejs file with code:</p>
  
  <pre><code>&lt;button type="submit" class="btn btn-success" onclick='register.ejs'&gt;Register&lt;/button&gt;
  </code></pre>
  
  <p>But when I run application, when I hit that button, it totally return nothing else this error:</p>
  
  <pre><code>Cannot GET /register.ejs
  </code></pre>
  
  <p>I even put register.ejs in the same folder with index.ejs but it still not work?</p>