title: Firefox extension, URL redirect from panel widget
body: <p>I have a Firefox addon. I created a beautiful panel widget with HTML and CSS. Now, I just need to get my scripts working from the panel widget. I try to redirect the current tab to the new url that is specified in the button value like below:</p>
  
  <pre><code>&lt;button class="myBtnClass AllBtnStyles" value="www.example.com/info"&gt;Info&lt;/button&gt;  
  </code></pre>
  
  <p>I got this script in my file also;</p>
  
  <pre><code>$(".myBtnClass").click(function () {
          window.content.location.href = $(this).attr('value');      
      });
  </code></pre>
  
  <p>But on button click the current tab gets redirected to </p>
  
  <pre><code>resource://jid0-ulah35kcypxsda4kbau4uierkjw-at-jetpack/add-on-name/data/www.example.com/info
  </code></pre>