title: Link to the next page (next in alphabetical order in the directory) using Javascript
body: <p>I want to create buttons on my local html web-page so that they can link to the next page in alphabetical order...
  Meaning that I have a directory named "dictionary" for example in which separate pages are made say for different letters of english alphabet which contain different details, word-meanings etc for each alphabet.</p>
  
  <p>Now let's say I have opened the page: <code>dictionary/c.html</code>, then I want the following buttons: <strong>Next Page</strong> (which should take me to <code>dictionary/d.html</code>), and <strong>Previous Page</strong> (which should take me to <code>dictionary/b.html</code>)...similarly for all the other pages.</p>
  
  <p>The problem is that I am using a template page using which I create all other pages (a to z), and I don't want to explicitly link the buttons in html, I rather want to use common <code>&lt;script&gt;</code> code snippets (one for previous and one for next) which I can add to my template page, using which I can create all other pages.</p>
  
  <p><strong>(NOTE: actually I have the the pages numbered as 1.html, 2.html, 3.html ... so it is easier to code)</strong></p>