Bug Tracker

Modify

Ticket #2955 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

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

Change History

comment:1 Changed 5 years ago by flesler

  • need changed from Review to Test Case
  • Version set to 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 5 years ago by tomcatacec

Here is the test case.

comment:2 Changed 5 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 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.