append和after的区别

如题所述

区别是:append意思为附加; 添加; 贴上; 签(名);
而after意思是…后的; (表示时间) 在…以后; (表示位置、顺序) 在…后面。

例句:
append
1、Violet appended a note at the end of the letter
维奥莱特在信的末尾附加了一条备注。
2、It was a relief that his real name hadn't been appended to the manuscript.

令人庆幸的是,手稿未落上他的真实姓名。
3、This demonstrates how to append user input to the selected list box item.

这个应用程序演示了如何在选定的列表框条目中追加用户输入。
4、You will notice that we also append the current time.
您将注意到,我们还附加了当前时间

after
1、After 19 May, strikes were occurring on a daily basis
5月19日之后,每天都会发生罢工。
2、After completing and signing it, please return the form to us in the envelope provided.

填完表格并签名后,请装进所提供的信封里寄还给我们。
3、She's leaving the day after tomorrow.

她打算后天离开。
4、He walked out, and Louise went after him.

他走了出去,路易丝也跟着出去了。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2016-04-18
1、after函数
定义和用法:
after() 方法在被选元素后插入指定的内容。

语法:
$(selector).after(content)

append函数

定义和用法:
append() 方法在被选元素的结尾(仍然在内部)插入指定内容。

语法:
$(selector).append(content)本回答被提问者采纳
第2个回答  2016-04-19
1、after函数
定义和用法:
after() 方法在被选元素后插入指定的内容。
语法:
$(selector).after(content)

2、append函数
定义和用法:
append() 方法在被选元素的结尾(仍然在内部)插入指定内容。
语法:
$(selector).append(content)

3、appendTo函数
定义和用法:
appendTo() 方法在被选元素的结尾(仍然在内部)插入指定内容。
语法:
$(content).appendTo(selector)
相似回答