Can someone help me troubleshoot an issue with my webpage?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link rel="stylesheet" href="<%= ResolveUrl("~/css/jquery.mobile-1.3.0.min.css") %>" />
</head>
<body>
<form id="form1" runat="server">
<div>
<div data-role="page" id="newsDeatils">
<div data-role="content">
<h3 id="newsTitle"></h3>
<p id="newsCategory"></p>
<div id="newsDescription"></div>
</div>
</div>
</div>
</form>
<script src="<%= ResolveUrl("~/js/jquery.min.js") %>"></script>
<script>
$(document).bind("mobileinit", function () {
$.mobile.autoInitializePage = false;
});
</script>
<script src="<%= ResolveUrl("~/js/jquery.mobile-1.3.0.min.js") %>"></script>
<script src="<%= ResolveUrl("~/js/knockout-2.2.0.js") %>"></script>
<script src="<%= ResolveUrl("~/js/NewsDetails.js" )%>"></script>
<script>
$.mobile.initializePage();
</script>
</body>
</html>
I'm trying to use NewsDetails.js to send an ajax request and populate the newsDescription div
with a table, but it doesn't seem to be working. Any ideas why?