Need Some Javascript Help

Discussion in 'JavaScript' started by rlineker, Jan 19, 2008.

  1. #1
    I know very little about JavaScript and I am currently making a website. I have set it up so it works in firefox using CSS. The problem is this code doesn't work in IE. The CSS effect I am using is :focus and for IE you need to use onFocus.

    If someone knows how to use onFocus please add me on MSN or PM me.

    Its about adding an image in a text field and removing it when someone is typing in the box.

    Thanks
    Ryan
     
    rlineker, Jan 19, 2008 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <a onfocus="alert(1)" href="#"></a>
     
    MMJ, Jan 19, 2008 IP