[BNM] Ajax not working in IE
Alex
alex at fatdrop.co.uk
Thu Jan 10 13:17:35 GMT 2008
This would be a breeze if you use a framework for it. I would strongly
recommend it so you can stop using different functions for IE & other
browsers. Other people have done the hard work of writing these
cross-browser functions so you don't have to.
Anyway, just my 2p.
=]
Bruno Rios Pereira wrote:
> HI Alex,
>
> here is the original message:
>
> Hi everyone,
>
> I have a request form which is working perfectly in Firefox but in not IE.
>
> One of the options doesn't show the content correctly, here is the url - http://www.brightred-design.com/vcs/chooseYourCar.cfm - and the issue is:
>
>
>> when you select 'Manufacturer' a AJAX function is called that populates the 'model' select object with a set the opions, The problem is in Firefox this works perfectly but if you try it in IE you will notice that the 'Model' field is empty!!! The data ( HTML options ) being returned by AJAX are correct. This request passes the innerHTML content to the model select box., why does IE not display the options (innerhtml) ?!!
>>
>
> Any suggestions will be very welcome.
>
> Thanks in advance
>
>
> ----- Original Message -----
> From: Alex
> To: Brighton New Media
> Sent: Thursday, January 10, 2008 1:04 PM
> Subject: Re: [BNM] Ajax not working in IE
>
>
> Bruno,
>
> I didn't see your original post with the problem in it so can't really
> comment. Are you using a JS framework? Prototype.js, Mootools or similar
> make cross browser stuff pretty straight forward but obviously it
> depends what the problem is.
>
> Alex =]
>
>
>
> Bruno Rios Pereira wrote:
> > Still not working I'm afraid... frustrating..
> >
> >
> > ----- Original Message -----
> > From: PJ Cook
> > To: Brighton New Media
> > Sent: Thursday, January 10, 2008 12:12 PM
> > Subject: Re: [BNM] Ajax not working in IE
> >
> >
> > Well yeah, my statements were a bit cartblanche, but also just my opinion. I'm not saying I'm right or anything, but I just hate javascript and think it causes too much extra work and is a cross browser pain. If you keep it simple and just post your requests back to the server where you've got better control over the code it generally works much better.
> >
> > Yeah, I think the problem did have nothing to do with javascript. It was a slightly different twist to the cross browser headache.
> >
> > I still stick with the Flash is better thought though. Although technically actionscript and javascript are pretty much the same language, just Flash has a better more compatible runtime environment. Also ... I don't see many javascript IDE's although flash / actionscript has many.
> >
> > Anyway, I hope the original post guy got his app to work properly :P
> >
> > Regards
> >
> > PJ
> >
> >
> >
> > > From: stevee at gmail.com> To: bnmlist at brightonnewmedia.org> Date: Thu, 10 Jan 2008 10:06:48 +0000> Subject: Re: [BNM] Ajax not working in IE> > > -----Original Message-----> > From: bnmlist-bounces at brightonnewmedia.org [mailto:bnmlist-> > bounces at brightonnewmedia.org] On Behalf Of PJ Cook> > Sent: 10 January 2008 09:53> > To: Brighton New Media> > Subject: Re: [BNM] Ajax not working in IE> > > > I could go on a huge rant about what I really think about javascript> > being the source of all evil and until there's only 1 browser in the> > world it'll never ever actually work> > Huh? That's utter bllx> > > ... but I think the route of your> > problem might be easily fixed by making sure that the response that you> > return in the ajax call comes back with <?xml version="1.0"> > encoding="UTF-8"?> in the header. Something about IE needs the> > response in UTF-8 format.> > So, nothing to do with javascript then. > > > P.S. good luck. But in my opinion all "ajax" related stuff would be> > better off in a flash movie because it's more likely to work on any> > browser or OS> > Again, more bllx> > Sorry to be brutal but what you're saying is nonsense.> > S> > > -- > > BNM Subscribe/Unsubscribe:> http://www.brightonnewmedia.org/options/bnmlist> > Archive Search - http://icanhaz.com/bnmarchive> > BNM powered by Wessex Networks:> http://www.wessexnetworks.com
> > --
> >
> > BNM Subscribe/Unsubscribe:
> > http://www.brightonnewmedia.org/options/bnmlist
> >
> > Archive Search - http://icanhaz.com/bnmarchive
> >
> > BNM powered by Wessex Networks:
> > http://www.wessexnetworks.com
> >
>
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> Archive Search - http://icanhaz.com/bnmarchive
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
More information about the BNMlist
mailing list. Powered by Wessex Networks