title: Add custom js to add functionality to themes options-page on Wordpress admin-panel?
body: <p>I have a theme, which has a options-page. I need to create tabs for it, so I need to include my custom js-file.</p>
  
  <p>I've tried this:</p>
  
  <pre><code>function add_js() {
      echo '&lt;script type="text/javascript" src="'.get_bloginfo('template_url').'/options/js.js'.'"&gt;&lt;/script&gt;';
  }
  </code></pre>
  
  <p>add_action('wp_head','add_js');</p>
  
  <p>However, this obiviously adds the script to the blog itself, but not the admin-panel. How to include this js-file only in options-page?</p>
  
  <p>Thanks,
  Martti Laine</p>