tailieunhanh - JavaScript JavaScrip

JavaScript là ngôn ngữ lập trình để thao tác các trang web sử dụng trong trình duyệt. Nó là công nghệ Điều đó đặt các "động" vào động HTML. Học JavaScript là điều cần thiết cho bất cứ ai Tăng cường hoặc phát triển ứng dụng web, và dĩ nhiên, nó cũng tích hợp vào cơ cấu của phát triển web Domino. Nếu bạn đã có một nắm bắt tốt của JavaScript, tập trung của bạn trên làm thế nào để được có nên Kết hợp vào các ứng dụng JavaScript Domino. Không có phiên bản đặc biệt của JavaScript. | JavaScript JavaScript provides another coding option for many tasks. Field validation for example can be done with formulas or with JavaScript. Unfortunately not everything you might want to do can be done with a single language so web applications end up as a mixture of formulas LotusScript or Java HTML CSS and JavaScript. Contemporary web applications use JavaScript extensively to improve performance and page behavior so if you don t know much about the language grab a book or look through one of the many online JavaScript tutorials. A few hours of study should be enough to get you going. Full mastery of JavaScript will take considerably longer as it is a rich and powerful scripting language. It is also useful to grasp the essentials of the Document Object Model DOM which is intended to represent and organize elements of a web page and also to provide an API for accessing those elements with a programming language like JavaScript. The structure and naming conventions for the DOM are fairly standard across all browsers but there are a few differences some objects and methods are supported by some browsers and not by others. A few illustrations of such differences are presented in this chapter. Also spend a little time learning about the Browser Object Model BOM which is similarly intended to represent the browser and to provide access to browser objects like the window object . Although there is good similarity here browsers are less standardized than we might like and this can impact how you write your JavaScript. For this reason it is important to test your JavaScript with multiple browsers. The primary purpose of this chapter is to focus on using JavaScript within a Domino Designer context. The examples may help you to learn some JavaScript but this chapter is not intended as a primer for the language. Keep it simple comment the complex Programming is half engineering and half art. Be kind to the next developer who has to work with your code. Format your .