title: How to read the file name of a HTML-link with JavaScript?
body: <p>I got a html-file in some folder. The file is called "file.html". I create a link-file to "file.html" on my desktop or anywhere else. The link file's name is e.g. "Monday".</p>
  
  <p>For my "file.html" I am using some JavaScript to filter some rows of a table which is being created.</p>
  
  <p>My question is: Is it possible to read "Monday" of my link file, open the original file and set "Monday" as the selected entry of my already existing drop-down-menu? If so, how can I do this?</p>
  
  <p>My xslt file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"&gt;
  &lt;xsl:template match="/"&gt;
  &lt;html&gt;
      &lt;head&gt;&lt;title&gt;Shared Secrets&lt;/title&gt;&lt;/head&gt;
  
  &lt;body onload="JavaScript_Filter();"&gt;
      &lt;h1&gt;Dokumentation Shared Secrets durch RD/UEA&lt;/h1&gt;
  
          &lt;img style="position: absolute; top:80px; left:920px;" src="../logo/logo.jpg" alt="Logo RD/U"&gt;&lt;/img&gt;
  
      &lt;table id="myTable"&gt;
          &lt;colgroup&gt;
              &lt;col width="150" style="background-color:e2e2e2"&gt;&lt;/col&gt;         
          &lt;/colgroup&gt;
          &lt;tr  style ="background-color:a5a5a5"&gt;
              &lt;th rowspan="2"&gt;plane
                  &lt;select id="modelRangeDropdown" onclick="JavaScript_Filter()"&gt;
                       &lt;option selected="selected"&gt;All&lt;/option&gt;
                       &lt;xsl:for-each select="logstore/plane"&gt;
                          &lt;option&gt;
                           &lt;xsl:value-of select="Name" /&gt;
                          &lt;/option&gt;
                       &lt;/xsl:for-each&gt;                    
                  &lt;/select&gt;                   
              &lt;/th&gt;   
              &lt;th colspan="2" width="330"&gt;date&lt;/th&gt;
              &lt;th rowspan="2"&gt;Secret
                  &lt;input type="checkbox" id="identicalSecrets" onclick="JavaScript_Filter()"&gt;&lt;/input&gt;
                  &lt;label for="identicalSecrets"&gt;Hide identical secrets&lt;/label&gt;
              &lt;/th&gt;
          &lt;/tr&gt;
  
          &lt;tr&gt;
              &lt;th align="center" style="background-color:a5a5a5"&gt;begin&lt;/th&gt;
              &lt;th align="center" style="background-color:a5a5a5"&gt;end&lt;/th&gt;
          &lt;/tr&gt;
          &lt;xsl:for-each select="logstore/plane/trigger"&gt;
              &lt;tr&gt;
                  &lt;td align="center"&gt;&lt;xsl:value-of select="../Name"/&gt;&lt;/td&gt;
                  &lt;td align="center"&gt;&lt;xsl:value-of select="date"/&gt;&lt;/td&gt;
                  &lt;td align="center"&gt;&lt;xsl:value-of select="date"/&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;xsl:value-of select="secret"/&gt;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/xsl:for-each&gt;
      &lt;/table&gt;    
      &lt;script type="text/javascript" src="JavaScript_Filter.js"&gt;&lt;/script&gt;     
  &lt;/body&gt;
  &lt;/html&gt;
  &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>My JavaScript Code:</p>
  
  <pre><code>// Just contains some filtering code... does not matter for my question
  </code></pre>