Zum Start zeigen wir Ihnen, wie man JavaScript-Code zu einer Seite hinzu fügt, um ein "Hallo Welt!"
To start, we'll show how to add some basic JavaScript to your page, creating a "hello world!"
Andere Variablen und Funktionen werden (sofern sie nicht lokal für eine Funktion gelten) als Eigenschaften dieses Objekts erstellt, um Konflikte mit anderem JavaScript-Code zu vermeiden, der möglicherweise Teil der Seite ist.
Other variables and functions (if they are not local to some function) are created as properties of that object, to avoid collisions with other JavaScript that may be included in the page.
Fügen Sie Ihrer Komponente eine init.js.jsp-Datei hinzu, um JavaScript-Code zu generieren, der den Sitzungsspeicher für Ihre Kontextspeicherkomponente initialisiert.
Add an init.js.jsp file to your component to generate javascript code that initializes the session store that your context store component uses.
Client-Debugging-Modus - Client-Debugging-Konsole - Für Debugging-Zwecke übergeben Sie "debug = true". Dies aktiviert die Debugging-Konsole, die Client-Debugging-Meldungen anzeigt und die Anwendung zudem zwingt, den vollständigen JavaScript-Code zu verwenden.
Client-side debug mode - client-side debug console - pass debug = true which is used for debugging purposes. This enables the debug console which shows client debug messages and also forces the application to use the uncrunched Javascript code.
Die restliche Zeit ist die Zeit, die der Browser benötigt, um den JavaScript-Code zu parsen und auszuführen und um die Seite darzustellen.
The remaining time is the browser overhead for parsing and executing the JavaScript and rendering the page. Avg.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.