WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Below code i am using it to open print window with some html content in some div. This code is working perfectly fine with Chrome and Firefox however when I run it on IE 8,9 it is opening a window with URL: [http : / / /] and getting crashed. what am i missing. document.domain is required for iframes. I am not able to find out what is the issue here.

jQuery(function ($) {
    $('a.certificate-window').click(function () {
            var btn = $(this),
                icsCertificate = btn.find('.em-certificate').html(),            
                recipecert =  window.open('','PrintWindow','width=925,height=725'),
                html = '' + icsCertificate + '';
            return false;

Thanks, B

share|improve this question
Update to the latest version, this has been solved already. – toscho Nov 7 '13 at 17:03
@toscho Latest version of what? jQuery, IE, WordPress? – morganestes Nov 7 '13 at 17:22
WordPress of course. :) – toscho Nov 7 '13 at 17:24
Well there are lot of factors .. to updating wordpress.... right now i cannot do that cause many plugins are involved in it. Can you suggest any alternative for it? – Bhavin Shah Nov 7 '13 at 17:27
Are you saying this issue will not get resolved unless and until i update the wordpress? – Bhavin Shah Nov 7 '13 at 17:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.