jquery background-color change on focus and blur

后端 未结 5 1774

I have the following problem: I have a form with three text input fields, and I want to change the background-color when one of the fields has focus, and get it set back whe

5条回答
  •  天命终不由人
    2020-12-29 22:56

    in code there should be coma"," not colon ":"

    the code must be $(this).css({'background-color' , '#FFFFEE'});

    i hope it helps.

    regards Saleha

提交回复
热议问题