I am not concerned with the focus portion at this point... only with applying the correct class to the correct elements. For some reason ie just won't comply
Code: Select all
$(function(){
$('input[@type="text"]').addClass('textinput');
});Code: Select all
form input[type="text"],
form input[type="password"],
form textarea,
form .textinput {
border: 1px solid #666;
padding: 2px;
}Code: Select all
form input[type="text"],
form input[type="password"],
form textarea {
border: 1px solid #666;
padding: 2px;
}
form .textinput {
border: 1px solid #666;
padding: 2px;
}