<input> tag and text inside to be dropShadowed...
Hi. I use plugin:
dropShadow and want to have text inside the <input> tag "dropShadowed".
By using code below i can only select <input> object, so all the input is with the effect of dropShadow. I tried to change $(this) for $(this).text().dropShadow or so, but no result acomplished. Any idea?
10x in advance:)
- $('input, textarea').focus(function()
- {
- $(this).css('border','2px solid red');
- $(this).fadeTo(400,1);
- var value = $(this).val();
- $(this).dropShadow({top:4,left:0,blur:1,color:"red"});
- });