Results 1 to 2 of 2

Thread: body onFocus=functionname, not working on IE

  1. #1
    heiseman Guest

    body onFocus=functionname, not working on IE

    Hi, I'm working on a website and am having difficulty figuring out how to have a function triggered when the window becomes active. I am having limited success with:

    <body onFocus=myFunction();>

    This works fine with Firefox and Safari, but not Internet Explorer. Is there a way to achieve this in all 3 browsers?

    Thanks.

  2. #2
    Join Date
    Apr 2009
    Location
    The toon
    Posts
    1,225
    Code:
    <body onFocus="myFunction();">

Similar Threads

  1. Page Layout (Body background deprecated)
    By malibu3 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 09 Feb 2009, 05:19 PM
  2. Position:fixed not working in IE7 Myspace
    By shrempff in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 21 Nov 2008, 11:16 AM

Posting Permissions

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