Soumettre la recherche
Mettre en ligne
Javascript Basic
•
6 j'aime
•
1,798 vues
Kang-min Liu
Suivre
Javascript Tutorial at Handlino
Lire moins
Lire la suite
Formation
Technologie
Affichage du diaporama
Signaler
Partager
Affichage du diaporama
Signaler
Partager
1 sur 36
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
Javascript
Javascript
mussawir20
Javascript essentials
Javascript essentials
Bedis ElAchèche
Javascript 101
Javascript 101
Shlomi Komemi
Lab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
JavaScript & Dom Manipulation
JavaScript & Dom Manipulation
Mohammed Arif
Javascript
Javascript
Nagarajan
Java Script ppt
Java Script ppt
Priya Goyal
Introduction to Javascript
Introduction to Javascript
Amit Tyagi
Recommandé
Javascript
Javascript
mussawir20
Javascript essentials
Javascript essentials
Bedis ElAchèche
Javascript 101
Javascript 101
Shlomi Komemi
Lab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
JavaScript & Dom Manipulation
JavaScript & Dom Manipulation
Mohammed Arif
Javascript
Javascript
Nagarajan
Java Script ppt
Java Script ppt
Priya Goyal
Introduction to Javascript
Introduction to Javascript
Amit Tyagi
Event In JavaScript
Event In JavaScript
ShahDhruv21
Introduction to JavaScript Basics.
Introduction to JavaScript Basics.
Hassan Ahmed Baig - Web Developer
Java script
Java script
Abhishek Kesharwani
Functions in javascript
Functions in javascript
baabtra.com - No. 1 supplier of quality freshers
JavaScript - An Introduction
JavaScript - An Introduction
Manvendra Singh
Javascript basics
Javascript basics
shreesenthil
Web development using HTML and CSS
Web development using HTML and CSS
SiddhantSingh980217
JavaScript Basics
JavaScript Basics
Bhanuka Uyanage
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
Edureka!
JavaScript Basics
JavaScript Basics
Mats Bryntse
Basics of JavaScript
Basics of JavaScript
Bala Narayanan
Javascript functions
Javascript functions
Alaref Abushaala
JavaScript Basics and Best Practices - CC FE & UX
JavaScript Basics and Best Practices - CC FE & UX
JWORKS powered by Ordina
HTML5
HTML5
Hatem Mahmoud
Fundamental JavaScript [UTC, March 2014]
Fundamental JavaScript [UTC, March 2014]
Aaron Gustafson
Java script
Java script
Shyam Khant
HTML (Web) basics for a beginner
HTML (Web) basics for a beginner
Jayapal Reddy Nimmakayala
Basic JavaScript Tutorial
Basic JavaScript Tutorial
DHTMLExtreme
Introduction to JavaScript (1).ppt
Introduction to JavaScript (1).ppt
MuhammadRehan856177
JavaScript Programming
JavaScript Programming
Sehwan Noh
Java Script
Java Script
siddaram
CSIS 138 Javascript Class1
CSIS 138 Javascript Class1
Teresa Pelkie
Contenu connexe
Tendances
Event In JavaScript
Event In JavaScript
ShahDhruv21
Introduction to JavaScript Basics.
Introduction to JavaScript Basics.
Hassan Ahmed Baig - Web Developer
Java script
Java script
Abhishek Kesharwani
Functions in javascript
Functions in javascript
baabtra.com - No. 1 supplier of quality freshers
JavaScript - An Introduction
JavaScript - An Introduction
Manvendra Singh
Javascript basics
Javascript basics
shreesenthil
Web development using HTML and CSS
Web development using HTML and CSS
SiddhantSingh980217
JavaScript Basics
JavaScript Basics
Bhanuka Uyanage
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
Edureka!
JavaScript Basics
JavaScript Basics
Mats Bryntse
Basics of JavaScript
Basics of JavaScript
Bala Narayanan
Javascript functions
Javascript functions
Alaref Abushaala
JavaScript Basics and Best Practices - CC FE & UX
JavaScript Basics and Best Practices - CC FE & UX
JWORKS powered by Ordina
HTML5
HTML5
Hatem Mahmoud
Fundamental JavaScript [UTC, March 2014]
Fundamental JavaScript [UTC, March 2014]
Aaron Gustafson
Java script
Java script
Shyam Khant
HTML (Web) basics for a beginner
HTML (Web) basics for a beginner
Jayapal Reddy Nimmakayala
Basic JavaScript Tutorial
Basic JavaScript Tutorial
DHTMLExtreme
Introduction to JavaScript (1).ppt
Introduction to JavaScript (1).ppt
MuhammadRehan856177
JavaScript Programming
JavaScript Programming
Sehwan Noh
Tendances
(20)
Event In JavaScript
Event In JavaScript
Introduction to JavaScript Basics.
Introduction to JavaScript Basics.
Java script
Java script
Functions in javascript
Functions in javascript
JavaScript - An Introduction
JavaScript - An Introduction
Javascript basics
Javascript basics
Web development using HTML and CSS
Web development using HTML and CSS
JavaScript Basics
JavaScript Basics
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Basics
JavaScript Basics
Basics of JavaScript
Basics of JavaScript
Javascript functions
Javascript functions
JavaScript Basics and Best Practices - CC FE & UX
JavaScript Basics and Best Practices - CC FE & UX
HTML5
HTML5
Fundamental JavaScript [UTC, March 2014]
Fundamental JavaScript [UTC, March 2014]
Java script
Java script
HTML (Web) basics for a beginner
HTML (Web) basics for a beginner
Basic JavaScript Tutorial
Basic JavaScript Tutorial
Introduction to JavaScript (1).ppt
Introduction to JavaScript (1).ppt
JavaScript Programming
JavaScript Programming
Similaire à Javascript Basic
Java Script
Java Script
siddaram
CSIS 138 Javascript Class1
CSIS 138 Javascript Class1
Teresa Pelkie
JQuery 101
JQuery 101
The Active Network
Developing and testing ajax components
Developing and testing ajax components
Ignacio Coloma
Couch Db.0.9.0.Pub
Couch Db.0.9.0.Pub
Yohei Sasaki
Javascript: Ajax & DOM Manipulation v1.2
Javascript: Ajax & DOM Manipulation v1.2
borkweb
Ajax On S2 Odp
Ajax On S2 Odp
ghessler
Seam Glassfish Slidecast
Seam Glassfish Slidecast
Eduardo Pelegri-Llopart
Introduction To Lamp
Introduction To Lamp
Amzad Hossain
JWU Guest Talk: JavaScript and AJAX
JWU Guest Talk: JavaScript and AJAX
Hilary Mason
Solr and symfony in Harmony with SolrJs
Solr and symfony in Harmony with SolrJs
Wildan Maulana
Building Web Interface On Rails
Building Web Interface On Rails
Wen-Tien Chang
Html and i_phone_mobile-2
Html and i_phone_mobile-2
tonvanbart
Merb jQuery
Merb jQuery
Yehuda Katz
Front End on Rails
Front End on Rails
Justin Halsall
Lecture 5 - Comm Lab: Web @ ITP
Lecture 5 - Comm Lab: Web @ ITP
yucefmerhi
Page Caching Resurrected
Page Caching Resurrected
Ben Scofield
JavaScript
JavaScript
Doncho Minkov
Ajax ons2
Ajax ons2
Chad Davis
JavaScript and jQuery Fundamentals
JavaScript and jQuery Fundamentals
BG Java EE Course
Similaire à Javascript Basic
(20)
Java Script
Java Script
CSIS 138 Javascript Class1
CSIS 138 Javascript Class1
JQuery 101
JQuery 101
Developing and testing ajax components
Developing and testing ajax components
Couch Db.0.9.0.Pub
Couch Db.0.9.0.Pub
Javascript: Ajax & DOM Manipulation v1.2
Javascript: Ajax & DOM Manipulation v1.2
Ajax On S2 Odp
Ajax On S2 Odp
Seam Glassfish Slidecast
Seam Glassfish Slidecast
Introduction To Lamp
Introduction To Lamp
JWU Guest Talk: JavaScript and AJAX
JWU Guest Talk: JavaScript and AJAX
Solr and symfony in Harmony with SolrJs
Solr and symfony in Harmony with SolrJs
Building Web Interface On Rails
Building Web Interface On Rails
Html and i_phone_mobile-2
Html and i_phone_mobile-2
Merb jQuery
Merb jQuery
Front End on Rails
Front End on Rails
Lecture 5 - Comm Lab: Web @ ITP
Lecture 5 - Comm Lab: Web @ ITP
Page Caching Resurrected
Page Caching Resurrected
JavaScript
JavaScript
Ajax ons2
Ajax ons2
JavaScript and jQuery Fundamentals
JavaScript and jQuery Fundamentals
Plus de Kang-min Liu
o̍h Tai-gi
o̍h Tai-gi
Kang-min Liu
The architecture of search engines in Booking.com
The architecture of search engines in Booking.com
Kang-min Liu
Elasticsearch 實戰介紹
Elasticsearch 實戰介紹
Kang-min Liu
Perlbrew
Perlbrew
Kang-min Liu
Same but Different
Same but Different
Kang-min Liu
perlbrew yapcasia 2010
perlbrew yapcasia 2010
Kang-min Liu
Git
Git
Kang-min Liu
Good Evils In Perl (Yapc Asia)
Good Evils In Perl (Yapc Asia)
Kang-min Liu
Learning From Ruby (Yapc Asia)
Learning From Ruby (Yapc Asia)
Kang-min Liu
YAPC::Tiny Introduction
YAPC::Tiny Introduction
Kang-min Liu
Integration Test With Cucumber And Webrat
Integration Test With Cucumber And Webrat
Kang-min Liu
Good Evils In Perl
Good Evils In Perl
Kang-min Liu
Javascript Tutorial
Javascript Tutorial
Kang-min Liu
Handlino - RandomLife
Handlino - RandomLife
Kang-min Liu
Jformino
Jformino
Kang-min Liu
Test Continuous
Test Continuous
Kang-min Liu
網頁程式還可以怎麼設計
網頁程式還可以怎麼設計
Kang-min Liu
OSDC.tw 2008 Lightening Talk
OSDC.tw 2008 Lightening Talk
Kang-min Liu
Happy Designer 20080329
Happy Designer 20080329
Kang-min Liu
Plus de Kang-min Liu
(19)
o̍h Tai-gi
o̍h Tai-gi
The architecture of search engines in Booking.com
The architecture of search engines in Booking.com
Elasticsearch 實戰介紹
Elasticsearch 實戰介紹
Perlbrew
Perlbrew
Same but Different
Same but Different
perlbrew yapcasia 2010
perlbrew yapcasia 2010
Git
Git
Good Evils In Perl (Yapc Asia)
Good Evils In Perl (Yapc Asia)
Learning From Ruby (Yapc Asia)
Learning From Ruby (Yapc Asia)
YAPC::Tiny Introduction
YAPC::Tiny Introduction
Integration Test With Cucumber And Webrat
Integration Test With Cucumber And Webrat
Good Evils In Perl
Good Evils In Perl
Javascript Tutorial
Javascript Tutorial
Handlino - RandomLife
Handlino - RandomLife
Jformino
Jformino
Test Continuous
Test Continuous
網頁程式還可以怎麼設計
網頁程式還可以怎麼設計
OSDC.tw 2008 Lightening Talk
OSDC.tw 2008 Lightening Talk
Happy Designer 20080329
Happy Designer 20080329
Dernier
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
Poonam Aher Patil
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
Celine George
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
christianmathematics
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
AreebaZafar22
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
Esquimalt MFRC
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
Pooja Bhuva
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
dalebeck957
Philosophy of china and it's charactistics
Philosophy of china and it's charactistics
hameyhk98
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
Amil baba
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
Jisc
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
Dr. Sarita Anand
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
Celine George
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Pooja Bhuva
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Denish Jangid
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
JoelynRubio1
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Ramakrishna Reddy Bijjam
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
NeilDeclaro1
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
Celine George
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Pooja Bhuva
Dernier
(20)
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
Philosophy of china and it's charactistics
Philosophy of china and it's charactistics
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Javascript Basic
1.
JavaScript Basic
gugod
2.
Tools Firefox 3 Firebug “shell” and
“test styles” bookmarklets https://www.squarefree.com/ bookmarklets/webdevel.html
3.
“Bread board” <html><body> <script type=quot;text/javascriptquot;> //
Code goes here... </script> </body></html>
4.
Code
5.
Hello World alert(quot;Hello Worldquot;);
6.
Hello, you var nickname
= quot;gugodquot;; alert(quot;Hello, quot; + nickname);
7.
variables var nickname =
quot;gugodquot;;
8.
variables var nickname =
quot;gugodquot;; variable name
9.
variables
variable value var nickname = quot;gugodquot;; variable name
10.
variables
variable declare value var nickname = quot;gugodquot;; variable name
11.
Simple Variable Values var
nickname = quot;gugodquot;; var answer = 42; alert(nickname); alert(answer);
12.
Simple Variable Values nickname
= quot;gugodquot;; answer = 42; alert(nickname); alert(answer);
13.
if-else if (answer ==
42) { alert(quot;correctquot;); } else { alert(quot;wrongquot;); }
14.
Expressions
a == b a != b a >= b a <= b a > b a < b a
15.
Function var hello =
function() { alert(quot;helloquot;); }
16.
Function function hello() {
alert(quot;helloquot;); }
17.
Function w/ Argument
var hello = function(nickname) { alert(quot;hello quot; + nickname); }
18.
var hello =
function(nickname, like) { var message = quot;hello quot; + nickname; if (like > 6) { message = quot;Great to see you, quot; + nickname; } if (like < 2){ message = quot;Oh, it’s you, quot; + nickname; } alert(message); }
19.
Input
20.
Browser User Input
prompt() DOM (HTML) Ajax (XMLHttpRequest) JSONRequest, JSONP, ...
21.
prompt var a =
prompt(quot;Give me money:quot;); alert(a);
22.
prompt Good Easy Built-in Bad
No way to customize style One variable at a time
23.
DOM <html><body> <span id=quot;nicknamequot;>gugod</span> <script type=quot;text/javascriptquot;> //
Code... </script> </body></html>
24.
<html><body> <span id=quot;nicknamequot;>gugod</span> <script type=quot;text/javascriptquot;> var
nickname = document.getElementById(quot;nicknamequot;) .childNodes[0] .nodeValue; alert(nickname); </script> </body></html>
25.
Add jQuery <head>
<script type=quot;text/javascriptquot; src=quot;jquery.min.jsquot;></script> </head>
26.
Hello (jQuery) <html> <head>
<script type=quot;text/javascriptquot; src=quot;jquery.jsquot;></script> </head> <body> <span id=quot;nicknamequot;>gugod</span> <script type=quot;text/javascriptquot;> var nickname = $(quot;#nicknamequot;).text(); alert(nickname); </script> </body></html>
27.
Output
28.
Browser Built-in alert() DOM Ajax
HTTP POST
29.
DOM <span id=quot;outputquot;></span> <script type=quot;text/javascriptquot;> var
message = quot;Hello, worldquot;; $(quot;#outputquot;).text(message); </script>
30.
Input + Output <span
id=quot;outputquot;></span> <script type=quot;text/javascriptquot;> var message = quot;Hello, quot; + prompt(quot;Your name is: quot;); $(quot;#outputquot;).text(message); </script>
31.
Other Topics
32.
Effect
33.
jQuery hide <div id=quot;helloquot;>Hello</div> <script
type=quot;text/javascriptquot;> $(quot;#helloquot;).hide('slow'); </script>
34.
Hide on click <a
href=quot;#quot; id=quot;closequot;>Close</a> <div id=quot;helloquot;>Hello</div> <script type=quot;text/javascriptquot;> $(quot;#closequot;).click(function() { $(quot;#helloquot;).hide('slow'); }); </script>
35.
More Info http://jquery.com/ http://visualjquery.com/ https://www.squarefree.com/ bookmarklets/webdevel.html
36.
The End
Télécharger maintenant