JavaScript:jQuery

From Progzoo
Revision as of 10:24, 2 January 2013 by Andr3w (Talk | contribs) (Hello World)

Jump to: navigation, search

Introduction to jQuery and JavaScript

Hello World

Create two files yourself; q1.html and q1.js – these have the following content:

q1.htmlq1.js
<![CDATA[
<!doctype html>
<script src="jquery.min.js"></script>
<script src="q1.js"></script>
<body>
</body>
]]>
<![CDATA[
$(function(){
  alert('Hello World');
});
]]>