D C S 1 A: Jquery Program To Apply Borders To Text Area and Paragraphs N: C: R N
D C S 1 A: Jquery Program To Apply Borders To Text Area and Paragraphs N: C: R N
BEFORE EFFECT
AFTER EFFECT
AFTER EFFECT
MOUSEOVER EFFECT
src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery
.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("#div1").load("main.html", function(responseTxt,
statusTxt, xhr){
if(statusTxt == "success")
alert("External content loaded successfully!");
if(statusTxt == "error")
alert("Error: " + xhr.status + ": " +
xhr.statusText);
});;
});
});
</script>
<style>
div{
border:1px solid black;
}
</style>
</head>
<body>
</body>
</html>
main.html
<html>
<head>
<title>Sri Sai Degree College </title>
<head>
<body>
<h2>This is the content of main.html</h2>
<h3> Sri Sai Degree College </h3>
<h4>Phoolbaugh Road </h4>
<h4>Bobbili</h4>
</body>
</html>
<head>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/j
query-ui.css">
<script src="https://code.jquery.com/jquery-
1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-
ui.js"></script>
<script>
$( function() {
$( "#datepicker" ).datepicker();
} );
</script>
</head>
<body>
</body>
</html>
</body>
</html>