Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes Ajax and browser compaitibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax and browser compaitibility" Watch "Ajax and browser compaitibility" New topic
Author

Ajax and browser compaitibility

zaxxon25
Ranch Hand

Joined: Feb 26, 2005
Posts: 35
Ajax is being used nowdays heavily for gui designs in some third party open source libraries like scriptaculous , moo.js, dojo . However when code is used on different browsers it shows different effect. Is it because of html limitation or ajax+javascript limitation.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60748
    
  65

Different browsers have different implementations, so you will see some differing behaviors and capabilities.

IE6 is perhaps the most abberant of the lot as it uses an ActiveX object rather than a native Javascript object for XMLHttpRequest.

Libraries such as Prototype go a long way to shielding you from the differences, but some are unavoidable.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kris Hadlock
Author
Greenhorn

Joined: Nov 14, 2006
Posts: 26
It is definitely because of the browser limitations not the technologies.


<a href="http://www.krishadlock.com" target="_blank" rel="nofollow">www.krishadlock.com</a><br /><a href="http://www.krishadlock.com/blog" target="_blank" rel="nofollow">www.krishadlock.com/blog</a><br /><a href="http://www.studiosedition.com" target="_blank" rel="nofollow">www.studiosedition.com</a><br /><a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/0672329123&tag=krishadlock-20&camp=1789&creative=9325" target="_blank" rel="nofollow">Ajax for Web Application Developers</a>
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

"Yeah technologies have alternate solution"
hope this example will clear your on my first sentence.

getYear() is method of Date Object in Javascript:
I use this method in IE its working fine in it but not in Mozila FireFox.
After that i found getFullYear() method in same Date Object in javascirpt upgraded version (don't remember what version is)

now its work perfectly in both browser.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Neerav Narielwala
Ranch Hand

Joined: Dec 08, 2006
Posts: 106
Browser incompability..


<a href="http://www.java-tips.org/java-tutorials/tutorials/" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="http://www.planet-java.org" target="_blank" rel="nofollow">Java Weblog</a> | <a href="http://computer-engineering.science-tips.org" target="_blank" rel="nofollow">Computing Articles</a>
 
Don't get me started about those stupid light bulbs.
 
subject: Ajax and browser compaitibility
 
Similar Threads
AJAX and its limitations
Setting Content - Boundary in a XMLHttpRequest object
how to send & by appending the URL
Multiple versions of a component - design question
AJAX