Originally Posted by ViN86
Yea there are some limitations to AJAX. Mostly that older browsers don't really support it and different browsers handle things differently.
One thing that has always worked for me (as far as I could tell) is using a very simple AJAX object where I send the request to the server-side script, then have the script do all the processing, then spit out the HTML. I call it include
. It didnt do any JSON or XML output, just HTML.
It takes 2 parameters, the server-side script URI, and the output object. As far as I could see, it worked in all the browsers as intended, even IE6. Also wrote a handful of other functions that would take care of any extra document processing after include() was finished. They would work in a find/replace, or just edit some <divs>. Either way it worked quite well.
Originally Posted by jcrox
jQuery takes care of the cross browser issues.
I need to look into that, I have a developer friend that swears by it and I've always heard good things. Anything that makes cross browser design/layout easier is a plus in my book!