If you are working with forms in AngularJS, I am sure you have come across a situation where you have checkboxes in your AngularJS form and you want to check if a user has selected (or checked) one of ...
Validations are important when you create forms that require your users to enter valid and complete data. You can have a GridView control in your form to do multiple entries. When you use a GridView ...
I have a list of items that I wish to show to my users. That is simple. I’ll create an object in my controller, add few items to it, and finally use an ng-repeat directive to render the list. However ...
Imagine you have a web page with a DIV element that has many other elements nested inside it. How would you get all the elements inside the DIV (or any other element) using JavaScript? I recently ...
An orderBy Filter in AngularJS sorts an array of data. The default behavior of an orderBy is Ascending order, be it a string or an integer data. In this post however, I am going to show you how to sor ...
I have previously written few articles on how to extract data from a database using Asp.Net Web API and work with the data using an AngularJS application. I’ll now extend the topic and here in this ...
You can drag an image on a web page and save the image on your computer or drag the image and view it on a new browser tab. What I am going to show you here is how to prevent or disable dragging an ...
CRUD is an acronym (short form) for create, read, update and delete. We often use these four basic functions to perform database operations such as, inserting, retrieving, modifying etc. Here, in my ...
The AngularJS isDefined() function helps determine if a value or reference inside the $scope is defined or not. The function returns a Boolean value, that is, true or false. It is important when ...
The Browser’s console provides a window where we can see all JavaScript errors and logs that would help web developers to analyze and debug critical issues. Using the browser’s JavaScript console, you ...