Skip to content

Instantly share code, notes, and snippets.

@pradeeprjth
Last active April 12, 2020 06:32
Show Gist options
  • Save pradeeprjth/e082fbcfd3bafc5bf450a66b60371b99 to your computer and use it in GitHub Desktop.
Save pradeeprjth/e082fbcfd3bafc5bf450a66b60371b99 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>jQuery Syntax Example</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
$("div").text("Welcome to DevopsSchool");
})
});
</script>
</head>
<body>
<div>Test</div><br />
<button>click</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment