Javascript – Page 4 – POFTUT

Category: Javascript

0

Javascript Array Variable Types

While programming we generally need to use multiple even several hundred variables of single type. Should we define one variable for each value? No. We can use arrays which can hold multiple values in a single variable. An array is string of values. So it gives the flexibility to store...

0

Javascript Numeric Variable Type Integer

Number types are used to express countable data. Numbers will presents integer, floating-point and dates. From technical point there is no difference between integer and floating-point. Numbers can be defined explicitly like below.

var count creates and variable new Number(12) makes variable type number and set value 12 to it Numbers...

0

Javascript String Variable Types

While developing Javascript applications we generally need some type that can hold text and string data. We call this type of variable as a string. The string can hold names, street info, paragraph, explanation, etc. The string is the type used for text data. String variables can be defined in...

0

Javascript Variable Types and Scope

We hold data in variables. Variable is used as a container for our data. Think about holding a name. Code:

var is shortcut for variable. It is not a must but makes code readble. We can ommit the var while writing code name  is the name of the variable when we...

0

Javascript Syntax and Basics

In this post we will start writing simple Javascript codes and run them on the browser. We will also look comments. Two Lines Of Code Our code is below. It is now two line and becoming more complex but not too much for our target.

Here is two JavaScript...

0

How To Setup Javascript Development Environment with Firefox?

Working environment is important while programming. We can use IDE’s like Eclipse, Visual Studio etc. or simple notepad or Browsers integrated text editors. Scratchpad In this tutorial we will use Firefox Scratchpad for simplicity. Scratchpad can be accessed from Menu->Developer->Scratchpad As we see Scratchpad provides saving code, running code, inspecting...

0

Introduction to Javascript Programming Language

Javascript is scripting language very popular among developers. Javascript is the programming language of the web. In the recents years Javascript popularity is higher than before because it gained a lot of features with new browsers technologies. There browsers, mobile devices, desktop, game consoles use Javascript. History Javascript initially designed...

0

Html Text Input Allow Only Numeric Input

Applications expecting numeric values for the input is generally a pain for developers. Because we have to check given values whether they are number or alphabet. We have some text input element for html. We want to get the number of the person. How can we achieve that easily? Pure...

Enjoy this blog? Please spread the word :)