How do I get the node ID in HTML

  • How do I get the node ID in HTML
    %E8%8A%82%E7%82%B9ID

Hi @JiChen

where in your HTML do you want to get the node id? Is it in a node's oneditprepare or oneditsave function? If so, then this.id will be the id of the node being edited.

If you mean something else, you'll need to explain.