Bug Tracker

Opened 12 years ago

Closed 9 years ago

#2955 closed bug (invalid)

submit function does not work under Opera 9.27

Reported by: tomcatacec Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.5
Keywords: Cc:
Blocked by: Blocking:

Description

The following code does not work under opera 9.27

<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<script type="text/javascript" src="<c:url value='/javascripts/jquery/jquery-1.2.6.js'/>"></script>
 <script type="text/javascript">
  var ipVal=0;
  function refreshProgress(){
    ipVal = ipVal + 1;
    $("#test1").val(ipVal);
    setTimeout(refreshProgress, 1500);
  }
   $(function(){
    $("#buttonTest").click(function(){
     setTimeout(refreshProgress, 1500);
    });
    $("#formtest").submit(function(){
     setTimeout(refreshProgress, 1500);
    });
   });
 </script>
</head>
<body>
 <button id="buttonTest">Click Me!</button>
 <form id="formtest" action="s.jsp" >
  <input id="test1" type="text" name="fname" value="Default" />
  <input type="submit" id="submitButton" value="submit"/>
 </form>
</body>
</html>
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!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>
<%
Thread.sleep(10000);
%>
</head>
<body>
 <button id="buttonTest">Click Me!</button>
</body>
</html>

Attachments (1)

test.html (953 bytes) - added by tomcatacec 12 years ago.
Here is the test case.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by flesler

need: ReviewTest Case
Version: 1.2.5

You need to reduce this to a (simple) html test case so we can test properly.

Btw.. you need to specify what isn't working.

Changed 12 years ago by tomcatacec

Attachment: test.html added

Here is the test case.

comment:2 Changed 12 years ago by tomcatacec

In test.html, when I submit the form to s.jsp, s.jsp will take 10 seconds to give me a response. During the 10 seconds, I try to set timeout to update the text input. But it does not work under opera 9.27. It works under IE 7, FF 2 and safari 3.1.1

comment:3 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

Sorry, there's just not enough information here to repro.

Note: See TracTickets for help on using tickets.