Bug Tracker

Modify

Ticket #2576 (closed bug: worksforme)

Opened 5 years ago

Last modified 3 years ago

css( name, value ) problem with opera 9.26

Reported by: ud Owned by:
Priority: major Milestone: 1.2.4
Component: css Version: 1.2.3
Keywords: Cc:
Blocking: Blocked by:

Description

the following code doesn't work with opera 9.26. In IE7 and firefox 2 it works well.

<html>	  
  <head>
    <script src="jquery-1.2.3.pack.js" type="text/javascript"></script>
    <script type="text/javascript">
      $(function(){
        $("#box").click(function(){
	  $(this).css("border-top","1px solid red");   
	});
      });
    </script>
  </head>
  <body>
   <div id="box" style="border:1px solid black; width:100px; height:100px;">
   </div>
  </body> 
</html

If i close and reopen the opera window, the desired result is shown.

Change History

comment:1 Changed 3 years ago by dmethvin

  • Component changed from core to css

comment:2 Changed 3 years ago by miketaylr

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

Works for me using latest jQuery.

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.