Overview | IndexGodLikeMouse AJAX JavaScript Framework 2.5
FRAMES | NO FRAMES

GLM.Collection.Map.put( key, value )

GLM.Collection.Map.put( key, value )

Method for storing an associated key value.

Parameters:

key - The key to associate with the value.

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