Home >> Java Script

Image

Top NPM packages in 2020.?

List of top NPM packages in 2020.

Image

How to handle response from asynchronous call.?

To handle the asynchronous response in javascript we can use three methods like Callback, Promise, Async/await: it's a new syntax in JS ES6 - the improved promise!

Image

Google Place Autocomplete Address Form

Autocomplete for Addresses and Search Terms Google autocomplete is a feature of the Places library in the Maps JavaScript API. You can use autocomplete feature and provide rich interface in your application.

Image

How to check whether a checkbox is checked in jQuery?

Three methods are available to find if checkbox is checked or not. 1.is() Method 2.jQuery prop() Method

Image

How to check if a string contains a substring in JavaScript?

To check if string contains substring in JavaScript you can use includes() and indexOf() Method.

Image

jQuery-Check if an element is hidden or Not?

:visible and :hidden selector can be used to determine if element is hidden or visible. This selector will also select the elements with visibility: hidden; or opacity: 0;, because they preserve space in the layout even they are not visible in open.

Image

How You Can Redirect to Another Web Url Using JavaScriptor JQuery?

To redirect page you can use JavaScript which is quite useful to make this work window.location property to make a page redirect for this there is no need for jQuery. If you do console.log(window.location) you can see list of object return by browser.

Image

JavaScript- Remove particular element from an array.?

Find the index of the array element you want to remove using indexOf, and then remove that index with splice.

Newsletter Subcribe

Receive updates and latest news direct from our team. Simply enter your email.