I have set the hover opacity in my css,
.button-simple:hover {
opacity:.70;
filter:alpha(opacity=70);
filter: "alpha(opacity=70)";
}
But the hover opacity does not show after I have this line in my code,
$('input[type=submit]').attr('disabled', false).css({opacity:1,cursor:"pointer"});
Any idea what I can do to add the hover css in?
EDIT:
The reason I cannot use !important in my css is that I have this line to disable the submit button first,
$('input[type=submit]',parent).attr('disabled', true).css({opacity:0.4,cursor:"default"});
If I set !important in my css, this disabled button will the hover effect as well which I don't want.