[{{mminutes}}:{{sseconds}}] X
Пользователь приглашает вас присоединиться к открытой игре игре с друзьями .
jQuery tutorial
(0)       Используют 5 человек

Комментарии

Ни одного комментария.
Написать тут
Описание:
The problem with the above example is that myCallBack('foo', 'bar').
Автор:
most_53
Создан:
10 сентября 2012 в 14:31
Публичный:
Да
Тип словаря:
Тексты
Цельные тексты, разделяемые пустой строкой (единственный текст на словарь также допускается).
Содержание:
1 The problem with the above example is that myCallBack('foo', 'bar') is evaluated before being passed as a function. Javascript and by extension jQuery expects a function pointer in cases like these. I.E. setTimeout function.
In the below usage, an anonymous function is created (just a block of statements) and is registered as the callback function. Note the use of 'function(){'. The anonymous function does exactly one thing: calls myCallBack, with the values of 'foo' and 'bar'.

Связаться
Выделить
Выделите фрагменты страницы, относящиеся к вашему сообщению
Скрыть сведения
Скрыть всю личную информацию
Отмена