Page MenuHomeClusterLabs Projects
Diviner Tech Docs celerity_generate_unique_node_id

function celerity_generate_unique_node_id()
Phorge Technical Documentation (Celerity)

Generate a node ID which is guaranteed to be unique for the current page, even across Ajax requests. You should use this method to generate IDs for nodes which require a uniqueness guarantee.

Return
stringA string appropriate for use as an 'id' attribute on a DOM node. It is guaranteed to be unique for the current page, even if the current request is a subsequent Ajax request.