山 东 轻 工 业 学 院
外文资料及中文译文
院系名称 信息学院
学生姓名 孙吉祥
学生学号 200803014116
专业班级 _ 计科08-3
指导教师 姜文峰
年 月 日
外文资料
出处:
/ajax-jquery
Easy Ajax with jQuery Article
Ajax is changing web applications, giving them a responsiveness that’s unheard of beyond the desktop. But behind all the hype, there’s not much to Ajax — (X)HTML, JavaScript, and XML are nothing new, and in this tutorial, I’ll show you how to simplify the process of adding Ajax to your application even further with the help of jQuery, a popular JavaScript library.
What’s Ajax?
You’ve probably heard about Ajax before, or at least used an Ajax-based application — Gmail, for instance. Quite simply, Ajax is a technique for handling external data through JavaScript asynchronously, without reloading the entire page. Site Point offers HYPERLINK "/article/take-command-ajax" a good introduction to Ajax. Jesse James Garrett is credited with coining the term in HYPERLINK "/publications/essays/archives/000385.php" this article.Unfortunately, in-depth tutorials on practical ways to enter the world of Ajax are few and far between. To add to the problem, the XML Http Request class used by Ajax isn’t very easy for beginning web developers to use. Luckily, a number of JavaScript libraries offer an easier way. Today I’ll show you how j Query — one of these libraries — allows you to easily add Ajax to your application.
What’s jQuery?
jQuery is another mature JavaScript library that offers some features that the others do not. Admittedly, it’s not exactly as lightweight as some of the other offerings: jQuery comes in at 19kb, while moo.fx is only 3kb. You can read more about jQuery at HYPERLINK "/" \l "el#/, and see the article, /#l#//article/javascript-library" The JavaScript Library World Cup for a comparison of a few other JavaScript libraries that offer similar functionality.
Assumed Knowledge
To complete this tutorial, you’ll need some basic JavaScript knowledge. If you know