Getting started with Nodejs

1.What is nodejs? Node.js is a software package consisting of a JavaScript engine and a number asynchronous input / output (I/O) librari...

Get Url, domain name, path name, protocol, port of current page in Javascript

Using window.location object, we can get current page address informations including url, domain name of web server, path name, protocol a...

Convert string to number and vice versa in Javascript

I.Convert String to number  1. Convert String to Integer : parseInt(string,radix)  parseInt(string,radix) string Required. The string...

Jquery date picker examples

In this entry I try to collect some examples in using Jquery date picker to help newbies quick familiar with this plugin, and give som...

Handling check box event with Jquery

In this post, I try to make some script for handling checkbox event with jQuery. HTML checkbox object support all standard events, so I ...

Find prime numbers in javascript

There are a lots of algorithm to find prime number.  Basically, I recommend Naive method to check a number is prime number or not. Follo...

Window confirm javascript method

Window confirm javascript method display a dialog box with a message belong to OK and CANCEL  button. For some special event, we should ...

Javascript does not work in IE9 until active development tool

I found some common question froms other who worked with Javascript like : Javascript does not work in IE9 at first loading. Javascrip...

3 reasons why you should let Google host jQuery for you

 When using Jquery, have you ever thinking of how to make your web page or your web app load faster and faster. I used jQuery for a long t...