title: Why wordpress thickbox not really showing for my theme upload option
body: <p>I've stuck with this problem for more than 8 hours. I created an option panel for my wordpress theme and add an upload button for the upload logo option. I'm using wordpress thickbox. Everything almost done except the thickbox upload never showing only the thickbox overlay that is showing. I checked the source file and the .js file and stylesheet file was registered an enqueue correctly. Why the thickbox not showing? please help me!</p>
  
  <p>here is my script use to call the thickbox via an input button</p>
  
  <pre><code>var fileInput = '';
  
      jQuery('.upload_image_button').click(function() {
          fileInput = jQuery(this).parent().prev('input.uploadfield');
          //console.log(fileInput);
          formfield = jQuery('#upload_image').attr('name');
          post_id = jQuery('#post_ID').val();
          tb_show('', 'media-upload.php?post_id='+post_id+'&amp;amp;type=image&amp;amp;TB_iframe=true&amp;width=640&amp;amp;height=105');
          return false;
      });
  
  
  
      window.original_send_to_editor = window.send_to_editor;
      window.send_to_editor = function(html){
  
          if (fileInput) {
              fileurl = jQuery('img',html).attr('src');
  
              fileInput.val(fileurl);
  
              tb_remove();
  
          } else {
              window.original_send_to_editor(html);
          }
      };
  </code></pre>
  
  <p>and here is my input button code for upload</p>
  
  <pre><code>&lt;input id="" class="uploadfield" type="text" value="" name="" size="50" maxlength="2048"&gt;
                                              &lt;div class="upload_buttons"&gt;
                                                  &lt;input class="upload_image_button" type="button" value="Upload"&gt;
                                              &lt;/div&gt;
  </code></pre>