my dog learned polymorphism
The moose likes HTML, CSS and JavaScript and the fly likes JQuery related Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JQuery related" Watch "JQuery related" New topic

JQuery related

vinaya namburi

Joined: Jul 15, 2013
Posts: 6
i want a jquery code for

when a text box got focus background color is something

and when a text box blur background color is something
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10828

vinaya namburi wrote:i want a jquery code for

Please red => NotACodeMill and ShowSomeEffort
Show us what you have tried so far, tell us where you are stuck and we will help point you in the right direction.
Also, when requesting assistance, using the word "Please" will take you a long way

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
vinaya namburi

Joined: Jul 15, 2013
Posts: 6
sorry i dont know how to ask

i tried like the below the code is

but i don't got answer

please help me
Rob Crowther
Ranch Hand

Joined: Nov 06, 2012
Posts: 297

Why do you need jQuery to do this? CSS will work:

Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Modern day browsers do not need JavaScript for this



I agree. Here's the link:
subject: JQuery related
It's not a secret anymore!