Results 1 to 14 of 14

Thread: [Resolved] CSS: onFocus= to a style name?

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Posts
    25

    [Resolved] CSS: onFocus= to a style name?

    I know that we can do this...

    Code:
    onfocus="this.style.border='2px solid #000000'"
    but I was wondering if there is a way to use onFocus to point at an existing class in a stylesheet?

    for example:

    Code:
    onfocus="this.style.class=''textfield'"
    ?
    Last edited by niclipse; May 3rd, 2007 at 08:20 PM. Reason: resolved

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