ThePsion5 Posted June 2, 2006 Share Posted June 2, 2006 Hi guys,I've been reading up on AJAX recently and I like the concept behind it, but every implementation i've seen here at w3schools and several others involves ActiveX scripting, which only works on IE. My question is, how easy is it to write AJAX code without using browser-specific scripts? I hate writing code that works on one browser but breaks in another (and I hate IE, for that matter). Link to comment Share on other sites More sharing options...
aspnetguy Posted June 2, 2006 Share Posted June 2, 2006 Hi guys,I've been reading up on AJAX recently and I like the concept behind it, but every implementation i've seen here at w3schools and several others involves ActiveX scripting, which only works on IE. My question is, how easy is it to write AJAX code without using browser-specific scripts? I hate writing code that works on one browser but breaks in another (and I hate IE, for that matter).<{POST_SNAPBACK}> I think that if you look closely you will see that it actually creates the HttpRequest object in 2 ways...one using ActiveX if the browser is IE and XMLHttpRequest() if it is not IE.If not could you post the code you are using...we'll make it cross browser for you. Link to comment Share on other sites More sharing options...
ThePsion5 Posted June 2, 2006 Author Share Posted June 2, 2006 I havn't done any coding into it yet, I was just researching it to see if it was worth learning for my own personal and professional use. Also, wouldn't it make more sense to just use the non-ActiveX method, or does the javascript version of it not function properly/as well in IE? Link to comment Share on other sites More sharing options...
reportingsjr Posted June 4, 2006 Share Posted June 4, 2006 I think W3schools should make a decent AJAX tutorial, not 2 examples that are reaaalllyy hard to understand. Ive also been looking around to use it in a game; but I cant find a good, easy to understand tutorial. If you have one please post it. Link to comment Share on other sites More sharing options...
skym Posted June 4, 2006 Share Posted June 4, 2006 http://www.maxkiesler.com/index.php/weblog...ajax_tutorials/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now