Overview | IndexGodLikeMouse AJAX JavaScript Framework 2.5
FRAMES | NO FRAMES

GLM.Collection.Map.get( key )

GLM.Collection.Map.get( key )

Method for returning the value associated with a key.

Parameters:

key - The key to return the associated value of.

Returns:

The value associated with the key.

Example:

var m = new GLM.Collection.Map();
m.add("name1","value1");
m.add("name2","value2");
alert( m.get("name1") ); //alerts "value1"



Overview | IndexGodLikeMouse AJAX JavaScript Framework 2.5
FRAMES | NO FRAMES