Garry's Mod Wiki

DHTML:OnDocumentReady

  DHTML:OnDocumentReady( string url )

Description

Called by HTML panels when the panel's DOM has been set up. You can run JavaScript in here.

Arguments

1 string url
The URL of the current page.