Rewards
Web
Images
Videos
Academic
Dict
Maps
More
Flights
My Bing
Notebook
global.js
Sample Sentence
Definition:
All
All
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
With the jQuery
library
and
global
.
js
file
in place
,
you
're
ready
to
start
improving
the
application
's
interface
.
准备好
jQuery
库
和
global.js
文件
后
,
您
就
可以
开始
改善
您
的
应用程序
的
界面
了
。
zhǔn bèi hǎo
jQuery
kù
hé
global.js
wén jiàn
hòu
,
nín
jiù
kě yǐ
kāi shǐ
gǎi shàn
nín
de
yìng yòng chéng xù
de
jiè miàn
le
。
www.ibm.com
2.
Begin
by
adding
two
functions
to
the
global
.
js
file
to
set
the
activity
name
field
and
display
a row
with the
activity
's
information
.
首先
向
global.js
文件
添加
两
个
函数
,
用于
设置
活动
名字
段
并
显示
一行
活动
信息
。
shǒu xiān
xiàng
global.js
wén jiàn
tiān jiā
liǎng
gè
hán shù
,
yòng yú
shè zhì
huó dòng
míng zì
duàn
bìng
xiǎn shì
yì háng
huó dòng
xìn xī
。
www.ibm.com
3.
Then
,
create
a
new
file
in the same
folder
called
global
.
js
,
as
shown
in
Listing
1
.
然后
,
在
同
一个
文件夹
中
创建
名
为
global.js
的
新
文件
,
如
清单
1
所
示
。
rán hòu
,
zài
tóng
yī gè
wén jiàn jiā
zhōng
chuàng jiàn
míng
wéi
global.js
de
xīn
wén jiàn
,
rú
qīng dān
yī
suǒ
shì
。
www.ibm.com
4.
First
,
add
the
following
code
to
the
global
.
js
file
.
首先
,
将
以下
代码
添加
到
global.js
文件
。
shǒu xiān
,
jiāng
yǐ xià
dài mǎ
tiān jiā
dào
global.js
wén jiàn
。
www.ibm.com
5.
Listing
3
shows
the
updated
global
.
js
file
.
清单
3
展示
了
更新
后
的
global.js
文件
。
qīng dān
sān
zhǎn shì
le
gēng xīn
hòu
de
global.js
wén jiàn
。
www.ibm.com