Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax and browser compaitibility

 
zaxxon25
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kris Hadlock
Author
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is definitely because of the browser limitations not the technologies.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Neerav Narielwala
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Browser incompability..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic