how to do this:
input[type="submit"] {
color:green;
}
in jQuery?
$('input[type="submit"]').css("color","green");
is not working :|
Probably because it is triggering before jQuery is "ready". Try this:
$(function() {
$('input[type="submit"]').css("color","green");
});
Use a simple css instead of javascript
input[type="submit"]{
color: green;
cursor: pointer;
font: bold 12px Helvetica,Arial,sans-serif;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With