Results 1 to 2 of 2

Thread: document.getElementById('txtValue').focus(); Fails with an error on MODAL popups

Threaded View

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    document.getElementById('txtValue').focus(); Fails with an error on MODAL popups

    I have the JS:
    Code:
    document.getElementById('txtValue').focus();
    This works fine is I call the page directly, or if the page is shown in a popup window that is NON modal.

    When I show this using the JS:
    Code:
    window.showModalDialog
    Then I get the following attached error.

    Woka
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width