Want to Warn User of a Error by Making an Input Field Glow

Any way to do this in jQuery?

Doing some change event based validation of elements. When they tab or click out, I'd like to, if there was an error in the validation, to glow the input field a bit rid for a half second to let them know something was wrong.

Any way to do this easily in jQuery? I was thinking along the lines of animate() and a border property but this is a inputfield....

Answers


If you have the jQuery UI library, you can use the highlight effect.

$("#Field").effect("highlight", {}, 1000);

Need Your Help

Programmatically determine the height of a div element

javascript html

I'm trying to get the height of a div, then position it based on the height. I've read various articles on this, but I always seem to be getting NaN as a result. Yes the javascript is loaded at the...

Flex Popup Button Question

flex

Banging my head against the wall here. I don't want to reinvent the wheel.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.