RE: [Proto-Scripty] Ajax in IE7 vs. IE8
The code posted is all the code there is. It is a simple little script to check that it can access a specific page on several servers. The servers are behind a load balancer using port forwarding hence the port requirement. Port 801 goes to server1 and port 802 goes to server2 and so on. The code works great in IE8 and Firefox 3.6.3 but not IE7. If I remove the port it works in IE7 but all 6 requests are now checking a random server since port 80 using a round robin to split request amongst servers. From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Rick.Wellman Sent: Friday, May 28, 2010 4:30 PM To: prototype-scriptaculous@googlegroups.com Subject: RE: [Proto-Scripty] Ajax in IE7 vs. IE8 Sorry for this short reply which may not even be correct but... Usually the port number is considered part of the URL from the server session viewpoint so if you're trying to go back to a different port than the rest of your app uses, that could be a problem. [I may have butchered this explanation so someone able to use more specific jargon... feel free to help or even tell me I'm completely wrong.] From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell Keith Sent: Friday, May 28, 2010 4:24 PM To: prototype-scriptaculous@googlegroups.com Subject: RE: [Proto-Scripty] Ajax in IE7 vs. IE8 It appears that IE7 doesn't like the port number added to the URL. Any thoughts on how to get around this? I have to have the port numbers. From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell Keith Sent: Friday, May 28, 2010 3:08 PM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Ajax in IE7 vs. IE8 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? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> .status{ margin-left: 10px; margin-right: 10px; width: 50px; } 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("<a rel="nofollow" href="http://10.0.0.5:80"+num+"/shared/login.jsp"">http://10.0.0.5:80"+num+"/shared/login.jsp"</a>;, { 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); } } Checks every seconds. Jetway01: Refresh Jetway02: Refresh Jetway03: Refresh Jetway04: Refresh Jetway05: Refresh Jetway06: Refresh Refresh All -- 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. -- 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. -- 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. -- 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.
RE: [Proto-Scripty] Ajax in IE7 vs. IE8
Sorry for this short reply which may not even be correct but... Usually the port number is considered part of the URL from the server session viewpoint so if you're trying to go back to a different port than the rest of your app uses, that could be a problem. [I may have butchered this explanation so someone able to use more specific jargon... feel free to help or even tell me I'm completely wrong.] From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell Keith Sent: Friday, May 28, 2010 4:24 PM To: prototype-scriptaculous@googlegroups.com Subject: RE: [Proto-Scripty] Ajax in IE7 vs. IE8 It appears that IE7 doesn't like the port number added to the URL. Any thoughts on how to get around this? I have to have the port numbers. From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell Keith Sent: Friday, May 28, 2010 3:08 PM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Ajax in IE7 vs. IE8 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? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> .status{ margin-left: 10px; margin-right: 10px; width: 50px; } 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("<a rel="nofollow" href="http://10.0.0.5:80"+num+"/shared/login.jsp"">http://10.0.0.5:80"+num+"/shared/login.jsp"</a>;, { 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); } } Checks every seconds. Jetway01: Refresh Jetway02: Refresh Jetway03: Refresh Jetway04: Refresh Jetway05: Refresh Jetway06: Refresh Refresh All -- 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. -- 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. -- 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.
RE: [Proto-Scripty] Ajax in IE7 vs. IE8
It appears that IE7 doesn't like the port number added to the URL. Any thoughts on how to get around this? I have to have the port numbers. From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell Keith Sent: Friday, May 28, 2010 3:08 PM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Ajax in IE7 vs. IE8 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? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> .status{ margin-left: 10px; margin-right: 10px; width: 50px; } 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("<a rel="nofollow" href="http://10.0.0.5:80"+num+"/shared/login.jsp"">http://10.0.0.5:80"+num+"/shared/login.jsp"</a>;, { 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); } } Checks every seconds. Jetway01: Refresh Jetway02: Refresh Jetway03: Refresh Jetway04: Refresh Jetway05: Refresh Jetway06: Refresh Refresh All -- 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. -- 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.
[Proto-Scripty] Ajax in IE7 vs. IE8
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? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> .status{ margin-left: 10px; margin-right: 10px; width: 50px; } 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); } } Checks every seconds. Jetway01: Refresh Jetway02: Refresh Jetway03: Refresh Jetway04: Refresh Jetway05: Refresh Jetway06: Refresh Refresh All -- 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.