• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

AJAX XMLHttpRequestObject Question?  RSS feed

 
Ranch Hand
Posts: 10191
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

The XMLHttpRequestObject has different properties for different browsers. So if I want to use XMLHttpRequestObject, then do I have to consider writing the properties for all the browsers if my app has to behave the same way across browsers?
 
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The XMLHttpRequestObject has different properties for different browsers.



Where did you get that notion? The creation of an XHR object differs between IE and other browsers, but the supported methods are identical: XmlHttpRequest
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Libraries such as Prototype will take care of this for you.
 
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you will never, ever code calls to XHR. Instead you will use a library. The library will either be embedded accessible from a UI component library such as isomorphic, Active Widget or will be a wrapper library such as Prototype as Ben Souther said.

HTH.
 
Joe Harry
Ranch Hand
Posts: 10191
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By AJAX libraries do you mean frameworks??
 
Sheriff
Posts: 67259
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not necessarily, libraries such as Prototype and jQuery are not considered frameworks.
 
Joe Harry
Ranch Hand
Posts: 10191
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then how do people use AJAX in the real time?
 
Bear Bibeault
Sheriff
Posts: 67259
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eh?

What does "real time" have to do with the issue of using a JavaScript library and whether such libraries are considered frameworks?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!