title: How do you Save a Selected Option in a Selection List
body: <p>For my web app I have a selection list coded as below;</p>
  
  <pre><code>&lt;select name = 'job' id = 'job'&gt;
  &lt;option value = 'jobselect'&gt;Select Profession&lt;/option&gt;
  &lt;option value = 'job1'&gt;Mechanical Engineer&lt;/option&gt;
  &lt;option value = 'job2'&gt;Software Engineer&lt;/option&gt;
  &lt;option value = 'jobother'&gt;Other&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>in the settings page. this page is linked to a 'save.js' file where the user input is supposed to be saved. i am using HTML and JavaScript - and no knowledge of PHP. In my JS file i have two functions - <em>saveSettings</em> and <em>loadSettings</em>. i'm stuck as to how to save it to localStorage (JavaScript) in the <em>saveSettings</em> function and reading it back to the user in the <em>loadSettings</em>. Any help would be much appreciated thanks x</p>