Partially load a div containing dynamic PHP content. Below is a simple demo to show you to load a div dynamically without refreshing page.
Here is a simple procedure to automatically logout a user if browser or tab is closed.
By using ajax with magento controller you can handle a lot of ajax process like removing product from cart through ajax, customer login via ajax through popup, showing an instant order date anywhere etc. To start with ajax process we need to follow below steps.
eq() function in jquery saves a lot of time and coding as it eliminates looping through nodes. The above jquery operation will log value 4 as eq(3) selects the 4th sibling of the parent element (.parent). The index starts from 0 as 1st element and so on. This method saves a lot of time and coding as it eliminates looping through nodes.
Set Drag Image for an element being dragged. Above code sets a drag image to an element being dragged. You can also assign any css to the dragged element.
Return a response value from an ajax call using async parameter. For more help write me your query with your contact details. Like and comment your feedbacks
Marcel Pociot released a new package that will automatically generate API documentation from your existing routes. What is neat is Continue Reading