Home » JavaScript

JavaScript

How to replace jQuery with VueJS

In this post, we feature a comprehensive article on How to replace jQuery with VueJS. If you’re from the IT industry, then you might already know about all the hype that VueJS has gained lately. But, what you might not know is that you can replace JQuery with Vue. In simple words, you can incorporate Vue just like you incorporate ...

Read More »

ReactJS Hide Component Example

ReactJS is one of the most popular JavaScript libraries today. In this article, we take a look at how to hide a ReactJS component. There are a couple of ways to achieve this. We will look at each method and walk through its implementation in this article. For the example that we will build, I have used the following stack ...

Read More »

ReactJS Event Listener Example

In this article, we take a look at event handling with ReactJS. ReactJS is a very popular front-end library used to build Front ends of high-performance applications. Handling events in ReactJS is very similar to handling DOM events using plain JavaScript. But there are some differences as we will see in this article. 1. Introduction Let us get started by ...

Read More »

React UI Components Example

In this article we take a look at some of the best free React UI Components. These are picked based on my experience over the years using widget libraries with various front end frameworks. The widgets or UI Components that we will take a look are available for free to use them in your projects. So lets saddle up and ...

Read More »

ReactJS Webpack Tutorial

In this article we will look at Reactjs Webpack configuration for a Reactjs Application. Webpack is a hugely popular bundler. We will take a look at how we can configure it and set it up from scratch for an Application built with Reactjs. Specifically we will look at configuration of babel to transpile JSX code apart from other regular items ...

Read More »

jQuery Disable button after submit Example

In this article, we will look at how to disable the submit button after a form submit in jQuery. It will prevent the user from submitting the form multiple times. We also cater to the possibility that the form submit is invalid or fails validation and thus we would re enable the button in such case. We will use jQuery ...

Read More »

JavaScript Capitalize the First Letter of a String Example

In this example we will check the JavaScript Capitalize the First Letter of a String implementation. JavaScript provides many functions to work with Strings in general. We will leverage a few of them to achieve our aim. There are more than one way of accomplishing the task at hand and we shall take a look at a couple of them. ...

Read More »

[MEGA DEAL] The Comprehensive JavaScript Bundle (97%)

Gain an Extensive (42-Hours!) JavaScript Education & Learn How to Build Web Applications with This Foundational Language Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 97% off on The Comprehensive JavaScript Bundle. Get it now with only $31, instead of the original price of $ 1.492 . JavaScript ...

Read More »

JavaScript Check if Variable is a Number Example

1. Introduction JavaScript is referred to as a dynamically typed language. What that means is that the language has data types but variables can hold values of different data types at different points in time. We can declare a variable and assign a string and subsequently assign a number to it as follows: let name = "Siddharth"; name = 39; ...

Read More »