<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"> <script src="jq/Base/jquery-1.7.1.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("button").click(function () { $('#result').load("files/Load.txt") }); }); </script> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <button>Click to Load Data</button> <div id="result"></div>
$(document).ready(function () { $("button").click(function (event) { $('#result').load("files/Load.txt", finish_load) event.preventDefault(); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)