LastNext21Page 1 of 2Record 1 to 10 of 13

Latest Entries

Favourite
VOTE 0

Getting Current Domain Name | JavaScript

Code Snippet » By Blue Cloud On Jan 03, 2012 8:06:47 AM ,

To get current domain name of the page.

When you coding for dynamic website, you may need to know screen resolution of the client's machine. How can you get it?

Favourite
VOTE 0

Making A Readonly Checkbox Without Grayed-Out

Tip & Trick » By Blue Cloud On Dec 23, 2011 10:29:36 PM ,

In some case, we want to display the read-only checkbox in our web form. So, the information cannot be changed. Sure, disabled control will do this but disabled controls change its appearance to grayed-out. We don't want it. There is the easiest way to do that with simple JavaScript. There may be another better way, but I normally use this. We can apply it for other controls as well. What you need to do is just add "onclick='return false;'" in control.

Favourite
VOTE 0

Making Numeric Only Textbox by Using JavaScript

Tip & Trick » By Blue Cloud On Dec 23, 2011 8:29:25 PM ,

There are several reasons we need to make numeric only textbox in our web form and here is how to restrict textbox input. Actually, it is not only for numeric textbox validation. It is also useful for many things. For example: textbox for email, phone number, Fax number and so on.

Favourite
VOTE 0

Create and Store a Cookie | JavaScript

Code Snippet » By Blue Cloud On Dec 23, 2011 8:14:51 PM ,

Cookie is a small text file that's stored in user's browser. They're mostly used for storing user preferences. It save the data with name-value pair format. Following function can be used to create and retrieve cookie values.

Favourite
VOTE 0

Check/Uncheck All the CheckBoxes of Given Element | JavaScript

Code Snippet » By Blue Cloud On Dec 22, 2011 7:20:14 AM ,

This javascript function can find all the checkboxes in given container and change the checked state.

Favourite
VOTE 0

Go Back or Forward in Browser Navigation History | JavaScript

Code Snippet » By Blue Cloud On Dec 21, 2011 7:55:38 AM ,

Using JavaScript you can go back or forward in the browser's navigation history.

Favourite
VOTE 0

Prevent Web Site from Being Loaded in Frames or iFrames | JavaScript

Code Snippet » By Blue Cloud On Dec 11, 2011 9:04:01 PM ,

This javascript check whether it was loaded on iframe or not. if iframe was used, redirect the page to where you want.

Favourite
VOTE 0

JavaScript Reserved Words

Reference » By Blue Cloud On Dec 10, 2011 9:59:01 AM ,

The following words cannot be used as variables, functions, methods, or object identifiers in coding JavaScript. These words have special meaning within the language and are predefined in the language’s formal specifications. Not all of them are currently in use. Some are reserved for future use.

Favourite
VOTE 0

JavaScript: Comments

Tutorial » By Blue Cloud On Dec 08, 2011 11:34:06 PM ,

Comment is the description of the code and used to prevent the execution of a code block. It’s one of the first things coder have to learn. It is used to make the code more readable. It's important best practices when writing code. All professional code should have comments. It is not easy to understant the logic behind the code without comments.

Categories : JavaScript | Tags : javascript, begineer guide, comment
LastNext21Page 1 of 2Record 1 to 10 of 13