Ok this doesn't make any sense to me. The following code works in IE8 but not IE7. The Ajax calls never get fired according to my proxy software. I don't have the luxury of firebug since I am relegated to IE here at work. Any ideas?
<!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> <title></title> <style type="text/css"> .status{ margin-left: 10px; margin-right: 10px; width: 50px; } </style> <script type="text/javascript" src="prototype.js"></script> <script type="text/javascript"> var secs = 10; document.observe('dom:loaded', function(){ $('secs').update(secs); checkAll(); new PeriodicalExecuter(function() { checkAll() },secs); }); function check(num){ $('jetway0'+num).value ='...'; $('jetway0'+num).style.color='black'; new Ajax.Request("http://10.0.0.5:80"+num+"/shared/login.jsp", { onSuccess: function(transport) { $('jetway0'+num).value ='Up'; $('jetway0'+num).style.color='green'; }, onFailure: function(transport){ $('jetway0'+num).value='Down'; $('jetway0'+num).style.color='red'; } }); } function checkAll(){ for (i=1; i<=6; i++){ check(i); } } </script> </head> <body> Checks every <span id="secs"></span> seconds.<br /><br /> Jetway01: <input class="status" id="jetway01"/><span style="text-decoration: underline; color: blue; cursor: hand;" onclick="check(1)">Refresh</span><br /> Jetway02: <input class="status" id="jetway02"/><span style="text-decoration: underline; color: blue; cursor: hand;" onclick="check(2)">Refresh</span><br /> Jetway03: <input class="status" id="jetway03"/><span style="text-decoration: underline; color: blue; cursor: hand;" onclick="check(3)">Refresh</span><br /> Jetway04: <input class="status" id="jetway04"/><span style="text-decoration: underline; color: blue; cursor: hand;" onclick="check(4)">Refresh</span><br /> Jetway05: <input class="status" id="jetway05"/><span style="text-decoration: underline; color: blue; cursor: hand;" onclick="check(5)">Refresh</span><br /> Jetway06: <input class="status" id="jetway06"/><span style="text-decoration: underline; color: blue; cursor: hand;" onclick="check(6)">Refresh</span><br /> <br /> <span style="text-decoration: underline; color: blue; cursor: hand;" onclick="checkAll()">Refresh All</span> </body> </html> -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.