NodeJs simple web scraper using cheerio

NodeJs simple web scraper using cheerio package. Using web scraper we can get the special kind of information from another website. For example, If you want to get the quick news you can create the web scraper for getting the lists of news. Today, We learn NodeJs simple web scraper using cheerio

Continue reading NodeJs simple web scraper using cheerio

jQuery select2 get selected value using jQuery.

jQuery select 2 is the most popular javascript framework for the select dropdown. jQuery select 2 provide beautiful functionality for searching value from the dropdown option. jQuery select 2 is the best solution for the dropdown because We can easily render more than thousand of data on the dropdown.

Continue reading jQuery select2 get selected value using jQuery.

Google Map API set marker to current user location

How to get current user location using Google map API and set the google map marker to the current user location with Info window.  Yes, it is possible to get the current user location using Google map API.

Continue reading Google Map API set marker to current user location

Javascript validation to allow the only numeric value in the text field.

How to set the validation to allow only numeric value in the HTML text field using JAVASCRIPT. We can set the validation using window keycode event on JAVASCRIPT. Like we want to allow the user only able to enter the numeric value in the text field just we need to set JAVASCRIPT function called on KeyPress like below.

Continue reading Javascript validation to allow the only numeric value in the text field.

jQuery chosen select value using jQuery

jQuery chosen is the best library for maintaining the HTML select dropdown. jQuery select box is developer friendly and user-friendly library. The developer can easily customize the design as he/she want. You can get more detail from here.

Let’s how we can change the chosen dropdown value using jQuery. Normally we can change the Dropdown value like.

Continue reading jQuery chosen select value using jQuery

jQuery get the event when bootstrap modal is open?

How to get the event when Bootstrap modal is open? Many times we need the event for changing some information on modal before modal display. So let’s see, How to get the jQuery event before modal is open.

First of all, we create the simple bootstrap modal.

Continue reading jQuery get the event when bootstrap modal is open?

How to remove duplicate value from the array using JAVASCRIPT?

Many time we get the array with contains the duplicate value. how we can find that duplicate value form array and remove it easily. Let’s see how we can remove duplicate value from JAVASCRIPT array.

Continue reading How to remove duplicate value from the array using JAVASCRIPT?