Javascript problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?RGlmZmlkZW50?=

    Javascript problem

    Hello All,

    I am trying to offer "Print" functionality using an HTML button with the
    help of "window.print() "

    This button works fine in Firefox but not in IE7. I am dumping the entire
    content of the page which has this HTML button code onto a different page
    using document.write. Everything else works fine except for this print
    button. I have a close button using "window.clo se" that works fine but not
    this print button.

    Any ideas or suggestions?
  • =?UTF-8?B?R8O2cmFuIEFuZGVyc3Nvbg==?=

    #2
    Re: Javascript problem

    Diffident wrote:
    Hello All,
    >
    I am trying to offer "Print" functionality using an HTML button with the
    help of "window.print() "
    >
    This button works fine in Firefox but not in IE7. I am dumping the entire
    content of the page which has this HTML button code onto a different page
    using document.write. Everything else works fine except for this print
    button. I have a close button using "window.clo se" that works fine but not
    this print button.
    >
    Any ideas or suggestions?
    Standard question #1:
    What do you mean by "not working"?

    Standard question #2:
    What error message do you get?

    --
    Göran Andersson
    _____
    Göran Anderssons privata hemsida.

    Comment

    • =?Utf-8?B?RGlmZmlkZW50?=

      #3
      Re: Javascript problem

      Usually, when the window.print works properly, it should display the "print"
      screen in a window using which you can print the documentusing the default
      printer. It is not displaying that window in my case. And, I am not getting
      any javascript error. It does nothing. However, it works fine in firefox.

      Any pointers?

      "Göran Andersson" wrote:
      Diffident wrote:
      Hello All,

      I am trying to offer "Print" functionality using an HTML button with the
      help of "window.print() "

      This button works fine in Firefox but not in IE7. I am dumping the entire
      content of the page which has this HTML button code onto a different page
      using document.write. Everything else works fine except for this print
      button. I have a close button using "window.clo se" that works fine but not
      this print button.

      Any ideas or suggestions?
      >
      Standard question #1:
      What do you mean by "not working"?
      >
      Standard question #2:
      What error message do you get?
      >
      --
      Göran Andersson
      _____
      Göran Anderssons privata hemsida.

      >

      Comment

      • =?UTF-8?B?R8O2cmFuIEFuZGVyc3Nvbg==?=

        #4
        Re: Javascript problem

        "Nothing" rarely ever happens. Have you enabled Javascript error
        messages in the browser? Otherwise it will only show up in the status bar.

        Diffident wrote:
        Usually, when the window.print works properly, it should display the "print"
        screen in a window using which you can print the documentusing the default
        printer. It is not displaying that window in my case. And, I am not getting
        any javascript error. It does nothing. However, it works fine in firefox.
        >
        Any pointers?
        >
        "Göran Andersson" wrote:
        >
        >Diffident wrote:
        >>Hello All,
        >>>
        >>I am trying to offer "Print" functionality using an HTML button with the
        >>help of "window.print() "
        >>>
        >>This button works fine in Firefox but not in IE7. I am dumping the entire
        >>content of the page which has this HTML button code onto a different page
        >>using document.write. Everything else works fine except for this print
        >>button. I have a close button using "window.clo se" that works fine but not
        >>this print button.
        >>>
        >>Any ideas or suggestions?
        >Standard question #1:
        >What do you mean by "not working"?
        >>
        >Standard question #2:
        >What error message do you get?
        >>
        >--
        >Göran Andersson
        >_____
        >http://www.guffa.com
        >>

        --
        Göran Andersson
        _____
        Göran Anderssons privata hemsida.

        Comment

        Working...