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

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...

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...

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 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

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: