Skip to main content

Bug Tracker

Side navigation

#2955 closed bug (invalid)

Opened May 29, 2008 03:30PM UTC

Closed June 20, 2010 07:05PM UTC

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 (0.9 KB) - added by tomcatacec May 30, 2008 02:46PM UTC.

    Here is the test case.

Change History (3)

Changed May 29, 2008 11:39PM UTC by flesler comment:1

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 May 30, 2008 02:50PM UTC by tomcatacec comment:2

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

Changed June 20, 2010 07:05PM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

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