getLastId

returns the ID of the last item

number|string getLastId();

Returns

number|stringthe ID of the last item

Example

//"file" is the ID of filemanager
$$('file').showItem($$('file').getLastId());

Related samples

See also
Back to top