Step 1: Go to http://jquery.com/download/
Step 2: Click the "Microsoft CDN"
Step 3: Accrording to download your versinon like jquery version 1.10.0
Step 4: Download the vsdoc file (jquery-1.10.0-vsdoc.js).
Step 5: The -vsdoc.js or .debug.js file must be located in the same folder as the javascript library
Or you can download
http://archive.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736
[.....]
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="http://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(
function () {
$('html, body').animate({ scrollTop: ($("#DivContent2").offset().top - 100) }, 'slow');
});
function clickwithbtn()
{
$('html, body').animate({ scrollTop: ($("#DivContent2").offset().top - 100) }, 'slow');
};
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<div><input type="button" value="Click" onclick="clickwithbtn()" id="btnClick" /> </div>
<div id="DivContent1" [.....]