jQuery 1.4.1, Opera 10.10 and Frames
I use frames in my scripts. I use jQuery 1.4.1. It works well in Firefox, Google Chrome and IE, but it didn't work in Opera. Opera didn't display the file in the frame. When I use jQuery 1.2.3, I haven't problems. Is this a bug or error in my scripts?
Sorry for my poor English.
My script are:
index.php
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<frameset rows="100%,*" FRAMEBORDER="0">
<frame src="login.php" name="cashMain">
<frame src="localdata.php" name="localData">
</frameset>
</html>
login.php
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div id="loginContainer">
<div id="response"> </div>
<div id="login_container" style="width:328px; margin:auto">
<table id="fill_table">
<tr><th>Login Form</th></tr>
<tr><td>Username:</td></tr>
<tr><td><input type="text" id="login_name" class="full_wide"/></td></tr>
<tr><td>Password:</td></tr>
<tr><td><input type="password" id="login_pwd" class="full_wide"/></td></tr>
</table>
<div id="space" style="height:10px"> </div>
<input class="button" type="button" id="submit" value="Login" />
</div>
</div>
</body>
</html>
localdata.php
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<title><!-- Insert your title here --></title>
</head>
<body>
<!-- Insert your content here -->
</body>
</html>