Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
js

Featured

Four Easy Ways To Test Your NestJs Application Using Jest

As the top web programmers strive to remain at the forefront of the current changes in the developing world. Also, we strive to work with recent additions in terms of tools and software for web development that can improve software development. S...

Vue vs ReactJS - Which is Better Front-end Development Framework

Any developer will tell you that front-end development can be confusing especially with the new JavaScript libraries sprouting now and then. When a developer starts a project in an app development company in India, he or she faces a tough choice ...

How to Implement Login Using AnuglarJS in Ionic PhoneGap App in 4 Simple Steps

Ionic is a Phone Gap which is driven by AngularJs and has a common code for both Iphone and Andorid devices, it is free open-sources mobile SDK used for developing hybrid/native apps. Today in this tutorial, we will learn how to make a simple log...

$mdToast in angular material

In angular material,If you want to display any unobtrusive alert on your GUI part to the users,then it provides Toast for designers. Toast is a term which is used to show alert in angular material and we use $mdToast service to display these toas...

An Overview to METRO UI

Hello readers , Today in my blog I will discuss a new technology introduced by Microsoft i.e METRO UI .   Introduction :- It is basically known as a Design language that is created by Microsoft for enhancing the user interface . ...

Adding textbox dynamically and save the values in angularjs

To create textbox dynamically in angularjs, we have to declare an array named inputs in which we will push the textbox element dynamically. In input box, we have included ng-model to bind the property name to the input. so we ...

Simple way to validate an empty text box on submit

Validating an empty field on submit through JavaScript As we know in almost all the web applications we have forms which contain text boxes and text fields to input some data and submit it. Sometimes knowingly or unknowingly users can submit t...

create element with dynamic id on click event with jquery

If you want to create multiple elements with dynamic id on click of button or an HTML element see below program for reference. /* The following html/jquery snippet will create multiple input boxes with dynamic id on clicking an individual elem...

What are the advantages of using AngularJS over jQuery?

As the various answers here say, Angular is a framework and JQuery is a library Let say we need to execute the well known scenario of a UI having the capacity to send a few solicitations to a backend server and shows the outcomes on a website...

Using IndexedDB in Phone Gap application

The IndexedDB is used to solve the problem of offline storage mechanisms that are supported by all the major browsers.It uses WebSQL implemented in browsers like Opera and Safari to expose IndexedDB API for web applications. Websites are able to...

How to disable previous dates in datepicker using JS?

Here the problem is you want to show the passed dates but make them disabled. jQuery(document).ready(function() { $('#sandbox-container').datepicker({ format: "dd/mm/yyyy", clearBtn: true, minDate: 0, maxDate: "+1M +10D", da...

How to substitute one variable on another in Angular JS?

Let's say I'm using 2 arrays $scope.city = []; $scope.state = []; now you need to swap the two array, I'm using (angular.copy). Here's the logic, first copy one variable into temp and put value of second variable into first. now put ...

How to Create Accordion

Hello All, If you want to make an accordion, this code will help you to make a dynamic accordion using HTML, CSS and Jquery. An accordion is a stacked list of items. Each item can be "expanded" or "stretched" to reveal the content associated...

How to add class or other attribute on first and last child of a element

How to add class or other attribute on first and last child of a element here is ul have five li and i want to add class on first and last li <ul id="parentElement"> <li>First</li> <li>Second</li> <li>...

How to remove a child element by ID of a parent div

How to remove a child element by ID of a parent div var element = document.getElementByid("parentDiv").children("#childDiv1"); element.remove(); here parentDiv have a child with id childDiv1

Create new html tag in Drupal

Sometimes we need to use some unique tags which are not available in HTML. For this we can just use these tags in our html coding, but in some specific cases our browser will not display them because these are not identified and comes within "<...

How to check and uncheck all checkbox on single click?

When we have multiple check box to select then we need to check all these one by one it will take more time to check all so by using jsscript we can check and unchecked all check box on a single click. In the below script can check and uncheck al...

Subtract date in JS

Subtract date in javascript : - var current = new Date(); //It will give the current date and time in default format. var future_date = new Date(now .setHours(now .getHours()+48)); //in this we add 48 hours in present time . ...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: