The jQuery Treeview can be created easily with just a few lines of code. In this tutorial I will create a treeview in HTML’s ul and li tags.
(more…)The JavaScript Loop is used to iterate through an array of items (which can be a number array, string array, etc) or objects. There are many ways to do it and so in this tutorial we will look on them one by one.
(more…)We all know that the jQuery Load method can be used to read an XML file, but developers often ask how to display this XML file to a HTML table. Therefore I decided to write a detailed tutorial that will:
(more…)The sp_executesql statement is used to execute dynamically built T-SQL Statements and stored procedures. It can have both input and output parameters and is very useful in SQL development.
(more…)Uploading multiple files in a single request is a common requirement in modern web applications—whether you're building a photo gallery, a document management system, or a form that needs to accept several attachments at once. While ASP.NET MVC provides solid built-in support for file uploads, combining it with AJAX lets you upload files asynchronously without refreshing the page, giving users a smoother, more responsive experience.
In this tutorial, we'll walk through the complete process of setting up multiple file uploads using jQuery AJAX in an ASP.NET MVC application—from creating the view and handling the FormData object on the client side, to processing the uploaded files in the controller. By the end, you'll have a fully working example you can adapt to your own projects.
You will take just 3 minutes to read and understand this jQuery file Upload tutorial that uses AJAX and does not perform page reloading when saving the files on the server.
Moreover it is able to upload multiple files at the same time.
(more…)The jQuery Autocomplete feature provides suggestions when you type on a text box. It uses AJAX to fetch these suggestions from the server. The autocomplete feature is very popular and is used by Google Search to. In this tutorial I will teach you how to make this jQuery Autocomplete feature in Step-by-Step manner.
(more…)In my previous tutorial, How to Implement ASP NET Web API, I explained how to build a Web API that fetches products from a database and returns them as JSON. In this tutorial, I'll show you how to consume that Web API using jQuery.
(more…)On my last tutorial I taught How to Implement ASP NET Web API which returned products from database in JSON. Now I will consume this Web API in ASP.NET MVC.
Let start with the API consuming part.
(more…)In this Tutorial I will teach how to Implement your own ASP NET Web API from start. This API will fetch records from the database and provides the consumer with these records in JSON format. This API also implements authentication, meaning users have to provide API Key and Secret for consuming this API.
(more…)Suppose you have a page where different AJAX calls are taking place and you want to indicate your users which AJAX call is currently taking place. You can indicate this by showing different loading images for different AJAX calls.
(more…)