Home » javascript » Page 4

Tag Archives: javascript

JavaScript String substring() Example

Greetings readers, in this tutorial, we will show how to use the JavaScript scripting language and the JavaScript string subString() method. 1. Introduction JavaScript is an object-oriented programming language that allows the client-side scripting to interact with a user and deliver the dynamic pages. Most web browsers including Google Chrome, Mozilla Firefox, Safari, Internet Explorer, Microsoft Edge, Opera, etc. support ...

Read More »

JavaScript Array map() Example

Greetings readers, in this tutorial, we will show how to use the JavaScript scripting language and the JavaScript Array map() method. 1. Introduction JavaScript is an object-oriented programming language that allows the client-side scripting to interact with a user and deliver the dynamic pages. It is supported by most web browsers including Google Chrome, Mozilla Firefox, Safari, Internet Explorer, Microsoft ...

Read More »

Optimizing Angular Application Using Template Cache

In one of my projects we were experiencing lot of server calls for the HTML files which we optimized it using Angular Template Cache and in this post I will showcase a thin example of our problem and how Angular Template Cache solved it using a Cache object. As creating an application is not a part of this post, I ...

Read More »

ReactJS Getting Started Example

In this article we will start our adventures in React. We will cover the set up of our local development environment, the various ancillary technologies needed to make our React application work and how a React application is composed. We will finally pull everything together in a simple web application which we can run locally in our browser. Knowledge of ...

Read More »

AngularJS Autocomplete Example

For years, Autocomplete is a common UX pattern. In this basic example, developers will learn what AngularJS is and how to create an Autocomplete textbox by using the angular Library. 1. Introduction AngularJS is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and maintainable front-end applications. Before we start with the ...

Read More »

AngularJS with SQL Example

Hello readers, in this basic example, developers will learn what AngularJS is and how to make a simple angular application to interact with the database. 1. Introduction 1.1 What is AngularJS? AngularJS is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and maintainable front-end applications. Before we start with creating an ...

Read More »

How to enable/disable an element using jQuery and JavaScript? Example

Sometimes we need to enable and disable input elements e.g. text box, radio buttons or checkbox, how can we do it dynamically without loading the page? Well, we can use JavaScript, particularly jQuery to do this. An element can be disabled in HTML by setting disable property to true and enabled again by setting disabled=false. By using jQuery, we can ...

Read More »

AJAX PHP Tutorial

AJAX is a technology that allows to establish asynchronous communication between the client and the server. That is, to allow a communication between the two points in the background. In this tutorial we will see how to use this technology, that involves JavaScript, which PHP in the server side.               For this tutorial, we ...

Read More »