Basic Alert Snippets


02 February, 2011   

Basic Alert

03 April, 2011   

Often when working on scripts alert boxes are placed inside loops as a debugging tool. You can sometimes end up with hundreds of alert boxes and no way to stop them. This script placed at the start of your code will give you an option to disable the alert boxes after a pre-determined number set by you.

23 March, 2011   

Are you looking for an easy way to launch an alert box on mouse over? This script will do just that. This JavaScript provides an easy way to alert your visitors. However, please ensure you use this script cautiously, as you certainly don't want to irritate your visitors and cause them to leave your web site.

23 May, 2011   

Are you looking for an easy way to launch an alert box on mouse over? This script will do just that. This JavaScript provides an easy way to alert your visitors. However, please ensure you use this script cautiously, as you certainly don't want to irritate your visitors and cause them to leave your web site.

25 March, 2012   

JavaScript Codes to show alert box on mouse over

17 November, 2012   

JavaScript code example for converting a string to all upper or lowercase

22 September, 2012   

Javascript code to convert a string to all upper or lowercase

Get number of paragraphs in column 2 and display that number in an alert box. Including the one in the red box.

11 February, 2012   

JavaScript Code to show a message box or a alert window when page opens

13 August, 2011   

Although there really isn't any foolproof way to protect your web page content, this JavaScript will discourage the more novice Internet users from copying your content. An alert box will appear displaying your copyright information when the right mouse button is clicked. However, this script will not completely protect your content from more...

10 April, 2012   

Protect your web page content with JavaScript code

JavaScript Code example to protect Your Web Page Content

Basic Database Connection, Random Query, Display Result

01 January, 2013   

Basic template for xhtml transitional

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts...

26 January, 2013   

Once the keycode of the spacebar is detected, it returns false which disallow the entering of space.

Flex: My First Flex / Facebook Application by chrisaiv

20 August, 2015   

Basic setup code for jQuery, linking to Google APIs for the jQuery library.

15 January, 2014   

Basic definition for a cursor in MSSQL

28 November, 2011   

An HTML scroll box is a box that grows scroll bars when it's contents are too large to fit in the box.