While some said #JavaScript is easy to learn, some said It’s easy to learn partially, but much harder to learn completely or even sufficiently. I agree with the latter point of […]
Both web browser & Node have an event loop. Node’s event loop is built on libuv. Web browser’s event loop is built on a different library. 1) Below […]
What you should understand before you can understand things like: JavaScript has a concurrency model based on an event loop, which is responsible for executing the code, collecting and […]
1. preventDefault() Event Method The preventDefault() method cancels the event if it is cancelable, meaning that the default action that belongs to the event will not occur. For example, […]
Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: […]
Reference: https://stackoverflow.com/questions/5939659/is-ajax-faster-than-reloading-a-page-in-form-submission/5939784#:~:text=Practically%2C%20AJAX%20is%20always%20%22faster%22.&text=In%20other%20words%3A%20a%20page,AJAX%20changes%20show%20up%20immediately.
Yes, it is. It provides better user experience. We can see that from comparing the two ways of making updates: Normally we make updates to database tables by […]