Changing button's color ONFOCUS {Urgent}

Results 1 to 2 of 2

Thread: Changing button's color ONFOCUS {Urgent}

  1. #1
    MaxMoon Guest

    Default Changing button's color ONFOCUS {Urgent}

    Hi,<BR>I&#039m looking for a way to dynamically change the color of a submit button when the focus is on him. In other words, when I click on TAB when the cursor is on the text field of the form, the focus jumps on the submit button and it turns from blue to red without reloading the page. How can I do that? Thanks for helping.<BR>

  2. #2
    Bruno Santos Guest

    Default RE: Changing button's color ONFOCUS {Urgent}

    Hi, MaxMoon!<BR><BR>Look at this page:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><BR>I used the onmousemove and onmouseout events to set the appropriate color, but you could use the onfocus and onblur events to your goal.<BR><BR>Bruno (

Posting Permissions

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