loading external page in div tag with JQuery asp.net

loading external page in JQuery asp.net

              <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        // Load the gridview data
        $.ajax({ url: "test.htm",
            cache: false,
            success: function (data)
            { $("div#divExtData").html(data); }
        });


      
    </script>
</head>
<body>
    <form id="form1" runat="server">
  
   
    <div id="divExtData"> </div>
   
    </form>
</body>
</html>



Comments