Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
JavaScript (Read 851 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
JavaScript
24.04.15 at 13:59:12
 
JavaScript
 
JavaScript is a programming language that can be used to add interactivity to a website.
 
Some examples:
 
If statement:
 
var iceCream = 'chocolate';
if (iceCream === 'chocolate') {
  alert('Yay, I love chocolate ice cream!');    
} else {
  alert('Awwww, but chocolate is my favorite...');    
}
 
Function definition:
 
function multiply(num1,num2) {
  var result = num1 * num2;
  return result;
}
 
Event:
 
document.querySelector('html').onclick = function() {
    alert('Ouch! Stop poking me!');
}
 
 
 
Source:
https://developer.mozilla.org/en-US/Learn/Getting_started_with_the_web/JavaScrip
t_basics
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1