Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Add new element to an array in javascript

Javascript provide us a push() method by using this method we can add new element in to the array. Ex:- var name = ["Amit", "Rohit", "Manoj"]; // existing array with names name.push("Kapil"); // adding new element Output:- name array will looks

Difference between PHP $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME']

Hello Reader's! In working PHP you might have seen the two common syntax $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME']. They share similar name but they work different. $_SERVER['SERVER_NAME'] gives the value of the server name as defined in h

How to create scheduler in OpenERP

A Scheduler helps to identify the necessary task, assigns a logical sequence to these tasks and monitor their execution. The main purpose of Scheduler is to identify tasks are on time.(Note: Tag is only used for the next Line). There are two ways to

Indexes in MySQL

Indexes in MySQL can improve performance of specific queries Like as below Examples : Syntax for creating index on one field: CREATE INDEX indx_magrno ON EmplyeTable (EmplyeID); These two indexes is supposed to hugely improve performance of INNER

Animations in Orthello

Animations in Orthello Orthello is a 2D Plugin in Unity 3D.It is used to develop 2D games in Unity 3D. It basically consists of animations and sprites and let them to interact with one another. In this blog I have discussed animations. 1)Animation

How to make UL/LI tree from a normal array

We usally wants to male a ul/li tree from an array having parent id within each individual record : $subjecttopic=Array ( [0] => Array ( [id] => 52b28146f484a5a410000029 [name] => Addtion [par

C# Naming Conventions and Coding Standards

"C# Naming Conventions and Coding Standards" Naming Convention:     Basicaly three types of naming conventions are used in C#, Camel, Pascal and Hungarian. We should use PascalCasing for class names and method names: Example:

How to retain the sorted value after refresh div?

Here, we are using both sessionStorage and localStorage to retain the values after refresh a div. The div named refresh (#refresh) get refresh after a time interval of 5s. Values in the array sort using updateContent(arr,$opts) function. These sorted

CSRF with Spring and AngularJS

In this blog, We will see how to configure CSRF protection and how to make AngularJS allowed to send information with a CSRF token to the server. In AngularJS, $http service reads a token from a cookie which is named by default XSRF-TOKEN and sets it

Datatypes in JavaScript

JavaScript consist many type of datatypes, like: Boolean Number String Array Object To know what operation you are going to perform on variables, you need to have the knowledge what is the data types of the variable you are using. For example: v

prev 1
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: