Javascript examples for jQuery:Form Input
Set outline color
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.3.js"></script> <script type="text/javascript"> $(window).load(function(){//ww w . ja va 2 s . c o m jQuery(document).ready(function () { jQuery('input').click(function () { document.write(jQuery('input').css('outline-color')); }); }); }); </script> </head> <body> <input> </body> </html>