4 ms·
Yes, AJAX does require javascript, but the features provided by AJAX can also be provided by a plain form. You click the "submit" button, the javascript interce
by aaaaaaaaaaa1234 12y ago
Yes, AJAX does require javascript, but the features provided by AJAX can also be provided by a plain form. You click the "submit" button, the javascript intercepts it, it launches the AJAX server request, and it writes the result onto the page. Without javascript, you click submit, it goes back to the server, and the server returns a page with the result.
- krapp 12y agoYes, but the usefulness i'm talking about is being able to get a response without re-rendering and fetching the entire page. If the difference between the two is just a small amount of text then doing it asynchronously is faster and more efficient. Although, if you're just dealing with purely static html pages then I would agree AJAX is pointless. But not everything useful about javascript has to be useful just to the end user.