written 6.8 years ago by | • modified 2.8 years ago |
Subject: Advanced Internet Technology
Topic: RIA and Mashup
Difficulty: Medium
written 6.8 years ago by | • modified 2.8 years ago |
Subject: Advanced Internet Technology
Topic: RIA and Mashup
Difficulty: Medium
written 6.7 years ago by |
Usage characteristics of JavaScript
Display messages to the user, either as part of a web page or in alert boxes.
Animate images or create images that change when you move the mouse over them.(rollovers)
To trap events such as moving the mouse over a certain area of the screen.
Request information from a server and display as needed, without reloading the whole page(AJAX)
Show or hide content based on user interaction
Use javascript libraries or frameworks to more easily accomplish common scripting tasks
Detect the browser in use and display different content for different browsers.
Detect installed plug-ins and notify the user if a plug in is required.
As a scripting language to handle user events, like clicking on a form element. You can add dynamic mechanisms to your page that would have previously required CGI scripts. For example, you can display fonts in a larger or smaller type style. In this case, the browser’s JavaScript interpreter provides this functionality.
JavaScript can also validate user input in a form before sending data to the server, acting as a buffer between Web servers and clients.
You can also use JavaScript to identify a user and greet them when they access your Web site.