jQuery.Class.static.getObject  function     

Gets an object from a String. If the object or namespaces the string represent do not exist it will create them.

Foo = {Bar: {Zar: {"Ted"}}}
$.Class.getobject("Foo.Bar.Zar") //-> "Ted"
$.Class.getObject(objectName, current) -> Object
{String}

the object you want to get

{optional:Object} defaults to window

the object you want to look in.

{Object}

the object you are looking for.

© Jupiter IT - JavaScriptMVC Training and Support