File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JQuery related" Watch "JQuery related" New topic
Author

JQuery related

vinaya namburi
Greenhorn

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: 10268
    
    8

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
Greenhorn

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
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

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
author
Rancher

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

HTML:



CSS:



Example
http://jsfiddle.net/TF3RB/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JQuery related