Featured
-
Top 10 Template Engines for JavaScript
What is a Template engine? Template Engines are
by nishant.mishra -
jQuery Accordion
Hello readers! In this Blog we will gain knowled
by vishwanath.rana -
How to make Numbered and bulleted list in HTML Editor with JavaScript
Hello all, Working with HTML Editor we wanted t
by gaurav.gautam -
How to hide particular div with just one click?
Hi, you want a condition in which the particula
by abhishek.tiwari.458 -
How to Create and Retrieve Array in Javascript?
If you want to store multiple values in a single v
by siddharth.shahi
Tags
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...
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 .
...