All jQuery and Ajax

Use jQuery.getScript to load external js files

jQuery provides a function called "getScript", which allows to load external Javascript or js file on the fly. The advantage of using $.getScript is that it loads the content on run time, which is far better than including <script> tag in your head section. jQuery getScript load a JavaScript file from the server using a […]
Read the rest of this entry »

Read and Process XML using jQuery Ajax

While working on my current project, for one of my requirement I need to read and process the XML file using jQuery and Ajax. The actual XML file was very huge and I can't share. So in this post, I will show you how to process XML file with jQuery and Ajax. Related Post: How […]
Read the rest of this entry »

jQuery : Execute/Run multiple Ajax request simultaneously

Yesterday for one of my requirement, I needed to execute/run multiple ajax request simultaneously or in parallel. Instead of waiting for first ajax request to complete and then issue the second request is time consuming. The better approach to speed up things would be to execute multiple ajax request simultaneously. Related Post: Avoid jQuery.post(), use […]
Read the rest of this entry »

Different ways of handling errors in jQuery.ajax

While using jQuery ajax, one needs to be very careful while handling errors as there are chances that your ajax request gets failed for any reason like server didn't respond, database error or any server side exception. So it is best practice to always handle errors while using jQuery.ajax(). To handle errors, there are 3 […]
Read the rest of this entry »

jQuery and Ajax, a lesson in patience and perseverance…

It’s safe to say that web developers enjoy a challenge, it comes with the territory. Whether you’re embarking on a new project requiring technical elements you’re less familiar with, or ‘simply’ carrying out general maintenance on past work; there’s always the potential for unforeseen challenges to arise. That said, these challenges should always be seen […]
Read the rest of this entry »

Effortless AJAX: Simplifying Database Operations with jQuery

Welcome to the world of web development where jQuery and AJAX combine to make your data interactions sleek and efficient! If you're looking to enhance your web applications with dynamic content updates without reloading the page, mastering jQuery's AJAX methods is the way to go. From fetching data to updating your database, this guide will […]
Read the rest of this entry »

Responsive Menu
Add more content here...