JavaScript programming language
JavaScript is especially useful for making your web pages interactive.
Examples
- Button rollovers: when you move your mouse over a button, it highlights.
- Menus: when you clicks on menu work, you get a drop down list of menu choices.
- Calculator: you type numbers into a web form, then JavaScript calculates results.
- Autocomplete: you start typing a search word, then JavaScript suggests possible matches.
- Maps: Google maps uses lots of JavaScript for scrolling, highlighting, and pinpointing.
- AJAX: advanced ways to do smarter, faster web pages by using dynamic data transfer.
Sample
// Make the web browser show a pop up
// that says Hello World to the user
function hi(){
alert("Hello World");
}
Comments?
Do you have a comment, question, feedback or idea?
Click here to email us!