Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
jquery.js
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
iank_meong
December 29, 2012
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
jquery.js
mari sedikit bermain-main dengan javascript
iank_meong
December 29, 2012
More Decks by iank_meong
See All by iank_meong
presentasi fisika
iankmeong
0
180
meong45
iankmeong
0
130
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
ラッコキーワード サービス紹介資料
rakko
1
5.1M
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
sira's awesome portfolio website redesign presentation
elsirapls
0
430
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The Limits of Empathy - UXLibs8
cassininazir
1
700
Chasing Engaging Ingredients in Design
codingconduct
0
340
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
560
Practical Orchestrator
shlominoach
192
12k
Accessibility Awareness
sabderemane
1
230
The Invisible Side of Design
smashingmag
301
52k
Transcript
JQuery Ibnu Yahya <
[email protected]
>
Apa itu JQuery? • Javascript framework popular. • Menekankan bagaimana
interaksi pada javascript dan html. • Berisi kumpulan library javascript siap pakai. • Memudahkan proses development web application.
Mengapa JQuery? • Popular ◦ Google http://goo.gl/E7T3l ◦ http://trends.builtwith.com/javascript/jQuery •
Dukungan dokumentasi • API yang lengkap (api.jquery.com) • Dapat digunakan di desktop maupun mobile web application Flash Problem?
Bandingkan! Javascript yang diajarkan di sekolah
Bandingkan! JQuery Javascript
Konsep.... $(selector).action()
Selector • Selector Element ◦ $("div").action(); (javascript) ◦ <div></div> (html)
• Selector Class ◦ $(".saya").action(); (javascript) ◦ <div class="saya"></div> (html) • Selector ID ◦ $("#saya").action(); (javascript) ◦ <div id="saya"></div> (html) • Selector Attribute ◦ $("[attribute='value']").action(); (javascript) ◦ <div attribute="value"></div> (html)
Action (JQuery API) • Event (http://api.jquery.com/category/events/) ◦ .click() ◦ .dblclick()
◦ .blur() • Attributes (http://api.jquery.com/category/attributes/) ◦ .html() ◦ .attr() ◦ .val • ETC (selengkapnya : api.jquery.com)
Memulai Jquery <!DOCTYPE html> <head> <script type="text/javascript" scr="jquery.js"></script> <script> $(document).ready(function(){
//jquery code }); </script> </head> <body> </body> </html>
EXAMPLE <!DOCTYPE html> <head> <script type="text/javascript" scr="jquery.js"></script> <script> $(document).ready(function(){ $(".tambahtext").text("saya
menambahkan text"); }); </script> </head> <body> <div class="tambahtext"></div> </body> </html>
Pertanyaan?
Terima Kasih