Hi Amish,
Thanks for a fine reply. Yes, I agree that PHP runs on the server while jQuery and AJAX on the client. As far as I understand AJAX cotains the following as mentioned here at this url.
Ajax (programming) - Wikipedia, the free encyclopedia
* HTML or XHTML and CSS for presentation
* the Document Object Model (DOM) for dynamic display of and interaction with data
* XML for the interchange of data, and XSLT for its manipulation
* the XMLHttpRequest object for asynchronous communication
* JavaScript to bring these technologies together
While jQuery contains the following as per this page
jQuery - Wikipedia, the free encyclopedia
jQuery contains the following features:
* DOM element selections using the cross-browser open source selector engine Sizzle, a spin-off out of the jQuery project[9]
* DOM traversal and modification (including support for CSS 1-3)
* Events
* CSS manipulation
* Effects and animations
* Ajax
* Extensibility through plug-ins
* Utilities - such as browser version and the each function.
* Cross-browser support
If jQuery contains AJAX then what is the need to use AJAX separately? Sorry, but I am new to both AJAX and jQuery and in the process of finding out as to which one to use and when.
Please help me, thanks