title: how to concatinate a link with <select> <option> value on "onchange" event
body: <p><code>&lt;?php echo $this-&gt;getUrl(); ?&gt;</code> gives me my index page url .i.e. www.domain.com/index.php/</p>
  
  <p>But now, what I want is, when any particular option is selected, it should add to this url.
  .e.g.</p>
  
  <pre><code>www.domain.com/index.php/wordpress/
  </code></pre>
  
  <p>I write this code for it but now don know how to get it done. :( </p>
  
  <pre><code>&lt;select onchange="setLocation('&lt;?php echo $this-&gt;getUrl(); ?&gt;')"&gt;
       &lt;option value=""&gt;&amp;nbsp;&lt;/option&gt;
       &lt;option value="wordpress"&gt;Wordpress&lt;/option&gt;
       &lt;option value="drupal"&gt;drupal&lt;/option&gt;
       &lt;option value="magento"&gt;Megento&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Also, I had searched this link but couldn't take help from it. As it didnt work for me.</p>
  
  <pre><code>&lt;select name="forma" ONCHANGE="location = this.options[this.selectedIndex].value;"&gt;
   &lt;option value="Home"&gt;Home&lt;/option&gt;
   &lt;option value="Contact"&gt;Contact&lt;/option&gt;
   &lt;option value="Sitemap"&gt;Sitemap&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>