Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > de.comp.lang.javascript > #5442
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Stefan Reuther <stefan.news@arcor.de> |
| Newsgroups | de.comp.lang.javascript |
| Subject | Re: Zugruff auf Variable innerhalb document.ready function ... |
| Date | Thu, 22 Jun 2023 18:34:04 +0200 |
| Lines | 17 |
| Message-ID | <u7246s.17s.1@stefan.msgid.phost.de> (permalink) |
| References | <u71d0v$1nd7q$1@news.nnpt4.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net rAahOJ2H1BJHos/BciKw5QYVYqJmlkGWkbyUhX4He5sBmTnqwy |
| Cancel-Lock | sha1:YiWkLW/vVrVRI5DhcpCpQChWpIk= |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 Hamster/2.1.0.1538 |
| In-Reply-To | <u71d0v$1nd7q$1@news.nnpt4.net> |
| Xref | csiph.com de.comp.lang.javascript:5442 |
Show key headers only | View raw
Am 22.06.2023 um 13:58 schrieb Jan Novak:
> class Test {
> var o5Session=getSession();
> constructor() {
> $(document).ready( function () {
> $("#info").text(this.o5Session.user.MAIL_ACCOUNT.user);
> });
> }
> }
var me = this;
$(document).ready( function () {
$("#info").text(me.o5Session.user.MAIL_ACCOUNT.user);
});
Stefan
Back to de.comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar
Zugruff auf Variable innerhalb document.ready function ... Jan Novak <repcom@gmail.com> - 2023-06-22 13:58 +0200
Re: Zugruff auf Variable innerhalb document.ready function ... Stefan Reuther <stefan.news@arcor.de> - 2023-06-22 18:34 +0200
Re: Zugruff auf Variable innerhalb document.ready function ... Jan Novak <repcom@gmail.com> - 2023-06-23 06:46 +0200
csiph-web