Hi,
In my application ,i want check whether the controls are textbox,password and buttons.
if it is textbox and password, i want to filter and add a class
i try following example
if ($('input').filter(':not (submit)').val().length > 0) {
/
$('input').filter(':not (submit)').addClass("validate");
}
i want to add class to textbox and password controls only and avoid buttons.
How it is possible.
Regards
Baiju