Prev Demo
jQuery
>
Button
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> </head> <body> <input type="button" value="Test" /> <input id="txtName" type="text" /> <input type="submit" value="Test" /> <button id="button1">This is a button</button> <script> $(function () { $(":button").css("border", "2px dashed green"); }); </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output