Sublime Text
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $(":reset").css("background-color","yellow"); }) </script> </head> <body> <form> <input type="text"> <hr> <input type="button" value="Button"> <hr> <input type="reset" value="Reset 1"> <hr> <button type="reset">Reset 2</button> </form> </body> </html>
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $(":reset").css("background-color","yellow"); }) </script> </head> <body> <form> <input type="text"> <hr> <input type="button" value="Button"> <hr> <input type="reset" value="Reset 1"> <hr> <button type="reset">Reset 2</button> </form> </body> </html>