Welcome Guest [Log In] [Register]
Welcome to Byte It. We hope you enjoy your visit.


Byte It is a forum dedicated to creating modifications for the ZetaBoards forum software. We have a large database of codes provided my the forum Admin, Quozzo, and other members of our community. If you dont see a code tgar fulfills your needs then you can request one right here.

If you join our community, you'll be able to access member-only sections, and use many member-only features such as giving codes a Byte Mark, requesting modifications, and viewing a livePreview of codes we have in our database. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
JavaScript #1; Getting Started
Topic Started: Apr 18 2011, 08:07 PM (68 Views)
Quozzo
Member Avatar
Administrator
[ *  *  * ]
JavaScript or JS is a scripting language which means it is put into a document with the HTML and is run by the browser with no pre-compiling required. It's simple to learn and easy to use, so lets begin.

What you will need/to know:

  • Basic understanding of HTML, as JS is used alongside HTML documents for various reasons
  • A HTML webpage that you can edit, if you want to follow the tutorial
  • A web browser capable of executing JavaScript

JavaScript uses the <script> tag inside HTML to tell the browser that the following text is a script. it needs an additional 'type' attribute to tell the browser that it is JavaScript and of course, an end tag
Code:
 
<script type='text/javascript'>
//JavaScript goes here
</script>


Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code Tutorials · Next Topic »
Add Reply

Ruby Graphite created by Sarah & Delirium