Does anyone know of any websites that provide an object based xmlHttpRequest for ajax applications? Something reusable in any context, very generic with cross-browser capabilities?
They're coming to take me away, Ha-haaa!
Advanced .NET Debugging Blog
My personal blog
There are a number of options.
First, you can use the Prototype JavaScript Library. It provides some basic functionality for events and dispatchers as well as some Object Oriented like features. It also encapsulates the XMLHttpRequest issue into a nice object that is cross browser supported.
Prototype is the basis for numerous other libraries including Ruby-On-Rails client side and script.alicio.us.
If you are using ASP.NET you can use the Atlas library. It's client side have an object model that includes an object that wraps the XMLHttpRequest object in a cross browser manner.
You can also use Yahoo UI framework that provide great JavaScript frame work for:
1) xmlHttpRequest
2) JavaScript events
and more.
http://developer.yahoo.com/yui/connection/
Got an answer for kevygee? Would you like to comment on the posted answers, or vote for the one which you think is the best?
Sign up for a free account, or sign in (if you're already a member).