Onclick Event Snippets

When a KeyboardEvent fires, you can test which key was pressed because that event contains information you can write logic against.

22 February, 2011   

Simple usage: var xmlLoader:LoadXMLUtil = new LoadXMLUtil("pathtoxml.xml"); xmlLoader.addEventListener(Event.COMPLETE, onLoaderComplete); private function onLoaderComplete(event:Event):void{ trace("Loaded XML: "); trace(xmlLoader.xml); }

14 May, 2014   

Html Code example for hCalendar

09 June, 2014   

JavaScript code for click to edit a table cell inline.

06 November, 2013   

Example shows how to handle window closing events. This is a very basic event handling when you are working on a UI Application.

JavaScript Code example to protect Your Web Page Content

10 April, 2012   

Protect your web page content with JavaScript code

04 July, 2011   

Animation with threads by John E. Grayson

30 January, 2013   

JQueryUI Search Auto complete Jump Menu with data from remote URL

29 June, 2011   

There are times when you need to access the stage property before onCreationComplete. Here are two ways to do it.

06 November, 2013   

This Java code example on how to hide a frame when closed

26 November, 2015   

Show the currently active processes.

30 January, 2013   

jQuery code example for animated scroll

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...

22 August, 2012   

This JavaScript code within your web page HTML between your HEAD tags

07 September, 2019   

Normally the tab key moves to the next focusable thing. This inserts a tab character in instead.

21 January, 2015   

Cool script changes your SELECT elements into a Select/Combobox element. Works in Firefox and IE 6+.

26 June, 2014   

Cool script changes your SELECT elements into a Select/Combobox element. Works in Firefox and IE 6+.

Scribble an applet of intermediate complexity, used as an example in the introductory chapter. Click and scribble in the window.

04 August, 2012   

The GetIEFavourites function called from the OnClick event of a button returns a list of all the favorites from your Internet Explorer in a ListBox.