aspose file tools*
The moose likes XML and Related Technologies and the fly likes Ajax & Cross-browsers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Ajax & Cross-browsers" Watch "Ajax & Cross-browsers" New topic
Author

Ajax & Cross-browsers

Rajan Chinna
Ranch Hand

Joined: Jul 01, 2004
Posts: 320
Does Ajax code work across all major browsers? Is there any specific things to consider while coding for xBrowsers?

If javascript setting is blocked at the browser, does the code still function?
Liyaquat Ali
Ranch Hand

Joined: Nov 16, 2005
Posts: 156
Ajax required javascript, and as long as the javascript code is cross browser compatible the Ajax code will work.


Excuse me while I kiss the sky (Jimi Hendrix)
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Liyaquat,

Your statement is a little broad since it requires a little more than JavaScript to see if it will work. Here is a list of browsers that support the XMLHttpRequest Object: http://en.wikipedia.org/wiki/XMLHttpRequest#History_and_support

With IE 6 and under, certain settings of ActiveX being disabled will cause it to not work.

Eric
Sas Jacobs
Author
Ranch Hand

Joined: Jun 24, 2006
Posts: 46
Ajax requires slightly different JavaScript approaches in each browser so the code works a little differently. You can use cross browser libraries or write code that branches.

Ajax can also use XSLT to apply transformations. To do this on the client side, you'd have to use IE5+, Mozilla 1+ or Opera 9+. Opera 8 has no XSLT support.

Cheers

Sas Jacobs
Liyaquat Ali
Ranch Hand

Joined: Nov 16, 2005
Posts: 156
Thanks for the information Eric and Sas,

Definitely, Ajax does require a bit more then just compatible Javascript.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax & Cross-browsers