Alaska Software Inc. - ajax and IE7
Username: Password:
AuthorTopic: ajax and IE7
Jeremy Suiterajax and IE7
on Wed, 15 Nov 2006 16:13:08 +0000
Hi,

Since I've updated a few machines here to ie7 the ajax parts of my waa app 
have stopped working.  I'm investigating and will let you know what I find. 
If anyone already has a cure can you let me know.

Thanks

Jeremy
Jeremy SuiterRe: ajax and IE7
on Wed, 15 Nov 2006 16:37:57 +0000
I've found a workaround, but it's not really a fix.

Apparently IE7 has native XMLHttpRequest built in instead of ActiveX, but it 
doesn't work.  I've had to rem out the native side to force IE7 to use 
ActiveX.

function loadXMLDoc(url){
  if (window.XMLHttpRequest) {     rem out this part as IE7 doesn't like 
it.
    req = new XMLHttpRequest();
    req.onreadystatechange = processReqChange;
    req.open("GET", cBaseUrl+url, true);
    req.send(null);
  } else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHTTP");
    if (req) {
      req.onreadystatechange = processReqChange;
      req.open("GET", cBaseUrl+url, true);
      req.send();
    }
  }
//}

What the native part doesn;t seem to do is run the <method></method> 
function that the XML file returns.

Jeremy

"Jeremy Suiter" <jeremy.suiter@rendallandrittner.co.uk> wrote in message 
news:4f7113fa$47bd9052$29fd14@news.alaska-software.com...
> Hi,
>
> Since I've updated a few machines here to ie7 the ajax parts of my waa app 
> have stopped working.  I'm investigating and will let you know what I 
> find. If anyone already has a cure can you let me know.
>
> Thanks
>
> Jeremy
>
Bruce AndersonRe: ajax and IE7
on Fri, 17 Nov 2006 14:24:08 -0600
I am curious about where people are using ajax in their websites.  Would you 
please tell me what kind of information you are updating on your page?

Bruce Anderson
Jeremy SuiterRe: ajax and IE7
on Mon, 20 Nov 2006 09:51:18 +0000
I use it to auto fill out drop down list boxes.  I work for a property 
management company (apartment blocks) and when selecting a tenant I use drop 
down list boxes.  When selecting a property (we manage over 150) I auto fill 
out the tenant drop down list box so I can pick a tenant without having to 
refresh the page.

HTH

Jeremy


As there are
"Bruce Anderson" <banderson@graphical-db.com> wrote in message 
news:6c6740e5$464381a$2f9ea@news.alaska-software.com...
>I am curious about where people are using ajax in their websites.  Would 
>you please tell me what kind of information you are updating on your page?
>
> Bruce Anderson
>
Bruce AndersonRe: ajax and IE7
on Mon, 20 Nov 2006 13:39:06 -0600
Thank you. This is a big help to me.  I see now where ajax is the perfect 
way to approach a cascading pull down list situation, probably common in any 
kind of catalog selection situation. Time for me to learn more (the never 
ending story of my life).
Jeremy SuiterRe: ajax and IE7
on Tue, 21 Nov 2006 10:53:28 +0000
Bruce,

It take a little patience to get it working but the reward is worth the 
effort.

Jeremy

"Bruce Anderson" <banderson@graphical-db.com> wrote in message 
news:fb93dd3$3be72947$46ad4@news.alaska-software.com...
> Thank you. This is a big help to me.  I see now where ajax is the perfect 
> way to approach a cascading pull down list situation, probably common in 
> any kind of catalog selection situation. Time for me to learn more (the 
> never ending story of my life).
>