src attribute in div not recognized
Hi,
I'm trying to use jquery (for the 1st time) in the following default.aspx page
-
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.3.2.js" type="text/javascript"></script>
<script src="Scripts/htmlparser.js" type="text/javascript"></script>
<script src="Scripts/UFrame.js" type="text/javascript"></script>
<style type="text/css">
div.UFrame
{
width: 300px;
height: 300px;
overflow: scroll;
border: 1px solid black;
background-color: white;
color:black;
padding: 5px
}
div.box
{
float: left;
width: 310px;
margin: 5px
}
fieldset.testarea { background-color: #4F4F00; border:none; width: 1000px; margin-bottom: 20px; padding: 10px; }
fieldset.testarea em { color:green; }
fieldset.testarea a { color:blue; }
fieldset.testarea h3 { font-size: 1em; height: 2.5em; }
div.no { font-size: 4em; font-family: Georgia,"Times New Roman",Times,serif; }
</style>
</head>
<body>
<form name="UFrameTest" method="post" action="Default.aspx" id="UFrameTest">
<fieldset class="testarea">
<div class="box">
<div class="UFrame" id="UFrame1" src="EmployeesPage.aspx?ID=UFrame1" >
<p>this should get replaced with content from EmployeesPage.aspx</p>
</div>
</div>
</fieldset>
</form>
</body>
</html>
I copied the code from the UFrame example and have included the 3 js files in my project.
The problem is the "src" attribute in the <div id=UFrame1" is not recognised and throws the following exception:
"Syntax error, unrecognized expression: " + expr;
where expr = src
Any ideas what I'm doing wrong.
Thanks for any help.[/b]