Forums
View unanswered posts | View active topics It is currently Thu Dec 14, 2017 8:34 pm



Reply to topic  [ 1 post ] 
 PIE does not update dynamically changed disabled inputs 
Author Message

Joined: Wed Jul 20, 2011 10:10 am
Posts: 1
Post PIE does not update dynamically changed disabled inputs
I have the following code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
   <title>Test</title>
   <script src="jquery-1.5.1.min.js"></script>
   <script>
      $(function(){
         $('#btn').click(function(){
            $('input').addClass('dis');
         });
      });
   </script>
   <style>
       input { position: relative; color: #fff; border: 0; background-color: green; border-radius: 5px; behavior: url(pie.htc); }
      input.dis { background-color: #f00; }
   </style>
</head>
<body>
   <div style="position: relative; z-index: 1;">
    <input type="button" value="Disabled button" disabled="disabled" />
    <input type="button" value="Dynamically changed button" />
   <input type="button" value="Disable them!" id="btn" />
   </div>
</body>
</html>


In IE8 when I click on a third button, only 2nd and 3rd buttons change color to the red, but in theory all of them have to.
If to remove border-radius: 5px; attribute it works as expected.

I already broke my head trying to make it working. I have played with
position: relative;
z-index: 1;
zoom: 1;
-pie-poll: true;

and many other potential tricks, but it doesn't work as I want it to.

Can you please address me to the right way or suggest any workaround?


Wed Jul 20, 2011 10:29 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.