10-12-2013, 07:34 AM
I'm back to doing coding tutorials, I haven't done one since before DZ merged w/ Codecommunity so I'm a little rusty.
Let us begin, fellow peanuts~
What is Java?
Java is a basic necessity for a computer to run scripts specifically formatted .js. .JS is a javascript document, it requires Java and is used on almost every website. It does alert boxes, interactives, etc.
So sexy beef~
The script command in the html defines the script of java, php, ajax, or whatever script follows.
You could also link it by using the same sscript command with a src suffix.
Your-js-file-here
So what's the script, Duubz!?!
functionName
This is the alert
It doesn't matter if it's it's own doc, or in the script command, either will work fine.
Linking it to HTML so it will actually pop up.
ValName
Button text
Just remember that capitals do make a difference. Copy this exactly, and edit accordingly to the cyan.
Note that the function name ( functionName() ) must be the same as in the js, and html. It's case sensitive too.
~ GnBA Duubz
Let us begin, fellow peanuts~
What is Java?
Java is a basic necessity for a computer to run scripts specifically formatted .js. .JS is a javascript document, it requires Java and is used on almost every website. It does alert boxes, interactives, etc.
So sexy beef~
Hidden Content
The script command in the html defines the script of java, php, ajax, or whatever script follows.
You could also link it by using the same sscript command with a src suffix.
Hidden Content
Your-js-file-here
Hidden Content
So what's the script, Duubz!?!
Hidden Content
functionName
Hidden Content
This is the alert
Hidden Content
It doesn't matter if it's it's own doc, or in the script command, either will work fine.
Linking it to HTML so it will actually pop up.
Hidden Content
ValName
Hidden Content
Button text
Hidden Content
Just remember that capitals do make a difference. Copy this exactly, and edit accordingly to the cyan.
Note that the function name ( functionName() ) must be the same as in the js, and html. It's case sensitive too.
~ GnBA Duubz