SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
Methods                                                                                                   DOM Methods


                          JavaScript
              Object                                                                                              Document
             toString                                                                                             clear
      toLocaleString                                                                                              createDocument
              valueOf                                                                                             createDocumentFragment
    hasOwnProperty                                                                                                createElement
       isPrototypeOf                                                                                              createEvent
propertyIsEnumerable     XMLHttpRequest                             REGULAR EXPRESSIONS - FORMAT                  createEventObject
                                                                                                                  createRange
                         Safari, Mozilla, Opera:                    Regular expressions in JavaScript take
               String                                                                                             createTextNode
               charAt        var req = new XMLHttpRequest();        the form:                                     getElementsByTagName
         charCodeAt      Internet Explorer:                         var RegEx = /pattern/modifiers;               getElementById
      fromCharCode           var req = new                                                                        write
               concat
                             ActiveXObject("Microsoft.XMLHTTP");    REGULAR EXPRESSIONS - MODIFIERS
             indexOf                                                                                              Node
         lastIndexOf                                                                                              addEventListener
     localeCompare       XMLHttpRequest Object Methods              /g        Global matching                     appendChild
               match                                                /i        Case insensitive                    attachEvent
              replace                                                                                             cloneNode
                         abort()                                    /s        Single line mode
               search                                                                                             createTextRange
                 slice   getAllResponseHeaders()                    /m        Multi line mode                     detachEvent
                 split   getResponseHeader(header)                                                                dispatchEvent
            substring    open(method, URL)                                                                        fireEvent
                                                                    REGULAR EXPRESSIONS - PATTERNS
               substr                                                                                             getAttributeNS
                         send(body)
        toLowerCase                                                                                               getAttributeNode
        toUpperCase               setRequestHeader(header, value)   ^            Start of string                  hasChildNodes
 toLocaleLowerCase                                                  $            End of string                    hasAttribute
 toLocaleUpperCase       XMLHttpRequest Object Properties           .            Any single character             hasAttributes
                                                                                                                  insertBefore
                                                                    (a|b)        a or b
              RegEx                                                                                               removeChild
                         onreadystatechange                         (...)        Group section                    removeEventListener
                 test
              match      readyState                                 [abc]        Item in range (a or b or c)      replaceChild
                exec     responseText                               [^abc]       Not in range (not a or b or c)   scrollIntoView
                         responseXML                                a?           Zero or one of a
               Array                                                                                              Form
                         status                                     a*           Zero or more of a                submit
              concat
                 join    statusText                                 a+           One or more of a
                push                                                a{3}         Exactly 3 of a                   DOM Collections
                 pop                                                                                              item
                         XMLHttpRequest readyState Values           a{3,}        3 or more of a
             reverse
                shift                                               a{3,6}     Between 3 and 6 of a               Range
                slice    0         Uninitiated                      !(pattern) "Not" prefix. Apply rule when      collapse
                 sort    1         Loading                                       URL does not match pattern.      createContextualFragment
               splice    2         Loaded                                                                         moveEnd
              unshift                                                                                             moveStart
                         3         Interactive                                                                    parentElement
                                                                    EVENT HANDLERS
            Number       4         Complete                                                                       select
             toFixed                                                onAbort                onMouseDown            setStartBefore
       toExponential
                         JAVASCRIPT IN HTML                         onBlur                 onMouseMove
          toPrecision                                                                                             Style
                                                                    onChange               onMouseOut             getPropertyValue
                         External JavaScript File
                Date                                                onClick                onMouseOver            setProperty
                          <script type="text/javascript"
                parse                                               onDblClick             onMouseUp
                          src="javascript.js"></script>
       toDateString                                                                                               Event
                         Inline JavaScript                          onDragDrop             onMove
       toTimeString                                                                                               initEvent
             getDate      <script type="text/javascript">           onError                onReset                preventDefault
              getDay       <!--                                     onFocus                onResize               stopPropagation
         getFullYear          // JavaScript Here                    onKeyDown              onSelect
            getHours       //-->                                                                                  XMLSerializer
                                                                    onKeyPress             onSubmit
     getMilliseconds                                                                                              serializeToString
                          </script>                                 onKeyUp                onUnload
         getMinutes
           getMonth                                                 onLoad                                        XMLHTTP
         getSeconds                                                                                               open
             getTime     Functions                                                                                send
 getTimezoneOffset                                                  FUNCTIONS AND METHODS
             getYear     Window               Built In                                                            XMLDOM
                         alert                eval                  A method is a type of function, associated
             setDate                                                                                              loadXML
            setHours     blur                 parseInt              with an object. A normal function is not
     setMilliseconds     clearTimeout         parseFloat            associated with an object.                    DOMParser
          setMinutes     close                isNaN                                                               parseFromString
           setMonth      focus                isFinite
                         open                 decodeURI                         Available free from
         setSeconds
              setYear    print                decodeURIComponent                 AddedBytes.com
 toLocaleTimeString      setTimeout           encodeURI
                                              encodeURIComponent
                                              escape
                                              unescape

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Smooth scrolling in UITableView and UICollectionView
Smooth scrolling in UITableView and UICollectionViewSmooth scrolling in UITableView and UICollectionView
Smooth scrolling in UITableView and UICollectionView
 
WHAT IS ABSTRACTION IN JAVA
WHAT IS ABSTRACTION IN JAVAWHAT IS ABSTRACTION IN JAVA
WHAT IS ABSTRACTION IN JAVA
 
Array ppt
Array pptArray ppt
Array ppt
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Threading Made Easy! A Busy Developer’s Guide to Kotlin Coroutines
Threading Made Easy! A Busy Developer’s Guide to Kotlin CoroutinesThreading Made Easy! A Busy Developer’s Guide to Kotlin Coroutines
Threading Made Easy! A Busy Developer’s Guide to Kotlin Coroutines
 
Java Collections
Java  Collections Java  Collections
Java Collections
 
Exception Handling in JAVA
Exception Handling in JAVAException Handling in JAVA
Exception Handling in JAVA
 
Java Basic Oops Concept
Java Basic Oops ConceptJava Basic Oops Concept
Java Basic Oops Concept
 
JAVA AWT
JAVA AWTJAVA AWT
JAVA AWT
 
Hibernate ppt
Hibernate pptHibernate ppt
Hibernate ppt
 
stack & queue
stack & queuestack & queue
stack & queue
 
Java collections
Java collectionsJava collections
Java collections
 
Spring jdbc
Spring jdbcSpring jdbc
Spring jdbc
 
SQLITE Android
SQLITE AndroidSQLITE Android
SQLITE Android
 
5 collection framework
5 collection framework5 collection framework
5 collection framework
 
Standard Template Library
Standard Template LibraryStandard Template Library
Standard Template Library
 
String, string builder, string buffer
String, string builder, string bufferString, string builder, string buffer
String, string builder, string buffer
 
Queues
QueuesQueues
Queues
 
Arrays
ArraysArrays
Arrays
 
The lazy programmer's guide to writing thousands of tests
The lazy programmer's guide to writing thousands of testsThe lazy programmer's guide to writing thousands of tests
The lazy programmer's guide to writing thousands of tests
 

Similar a javascript-cheat-sheet-v1_1

Actionsscript Cheat Sheet Letter
Actionsscript Cheat Sheet LetterActionsscript Cheat Sheet Letter
Actionsscript Cheat Sheet Letter
guest2a6b08
 
Actionsscript cheat sheet_letter
Actionsscript cheat sheet_letterActionsscript cheat sheet_letter
Actionsscript cheat sheet_letter
Radik Setagalih
 
Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012
Coen De Roover
 
Recommending Method Invocation Context Changes
Recommending Method Invocation Context ChangesRecommending Method Invocation Context Changes
Recommending Method Invocation Context Changes
Beat Fluri
 
AngularJS CheatSheet
AngularJS CheatSheetAngularJS CheatSheet
AngularJS CheatSheet
Abdul Basit
 
No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...
No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...
No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...
Atlassian
 
Non Cms For Web Apps
Non Cms For Web AppsNon Cms For Web Apps
Non Cms For Web Apps
day
 

Similar a javascript-cheat-sheet-v1_1 (20)

Doc Parsers Api Cheatsheet 1 0
Doc Parsers Api Cheatsheet 1 0Doc Parsers Api Cheatsheet 1 0
Doc Parsers Api Cheatsheet 1 0
 
Actionsscript Cheat Sheet Letter
Actionsscript Cheat Sheet LetterActionsscript Cheat Sheet Letter
Actionsscript Cheat Sheet Letter
 
Actionsscript cheat sheet_letter
Actionsscript cheat sheet_letterActionsscript cheat sheet_letter
Actionsscript cheat sheet_letter
 
Actionsscript cheat sheet_letter
Actionsscript cheat sheet_letterActionsscript cheat sheet_letter
Actionsscript cheat sheet_letter
 
Actionsscript cheat sheet_letter
Actionsscript cheat sheet_letterActionsscript cheat sheet_letter
Actionsscript cheat sheet_letter
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012
 
Introduction to Client-Side Javascript
Introduction to Client-Side JavascriptIntroduction to Client-Side Javascript
Introduction to Client-Side Javascript
 
Java Zone 2010 - Writing SOLID JavaScript
Java Zone 2010 - Writing SOLID JavaScriptJava Zone 2010 - Writing SOLID JavaScript
Java Zone 2010 - Writing SOLID JavaScript
 
JavaScript.pptx
JavaScript.pptxJavaScript.pptx
JavaScript.pptx
 
WD programs descriptions.docx
WD programs descriptions.docxWD programs descriptions.docx
WD programs descriptions.docx
 
Recommending Method Invocation Context Changes
Recommending Method Invocation Context ChangesRecommending Method Invocation Context Changes
Recommending Method Invocation Context Changes
 
Javascript
JavascriptJavascript
Javascript
 
Nick Sieger JRuby Concurrency EMRubyConf 2011
Nick Sieger JRuby Concurrency EMRubyConf 2011Nick Sieger JRuby Concurrency EMRubyConf 2011
Nick Sieger JRuby Concurrency EMRubyConf 2011
 
AngularJS CheatSheet
AngularJS CheatSheetAngularJS CheatSheet
AngularJS CheatSheet
 
No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...
No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...
No Coding Necessary: Building Confluence User Macros Cheat Sheet - Atlassian ...
 
Non Cms For Web Apps
Non Cms For Web AppsNon Cms For Web Apps
Non Cms For Web Apps
 
Introduction to React JS for beginners
Introduction to React JS for beginners Introduction to React JS for beginners
Introduction to React JS for beginners
 
Ajax cheat sheet
Ajax cheat sheetAjax cheat sheet
Ajax cheat sheet
 
Logic-based program transformation in symbiosis with Eclipse
Logic-based program transformation in symbiosis with EclipseLogic-based program transformation in symbiosis with Eclipse
Logic-based program transformation in symbiosis with Eclipse
 

Más de brecke

jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2
brecke
 
jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1
brecke
 
git-cheat-sheet
git-cheat-sheetgit-cheat-sheet
git-cheat-sheet
brecke
 
Rails_3_Cheat_Sheets
Rails_3_Cheat_SheetsRails_3_Cheat_Sheets
Rails_3_Cheat_Sheets
brecke
 
rails-migrations_1
rails-migrations_1rails-migrations_1
rails-migrations_1
brecke
 
JSP Syntax_1
JSP Syntax_1JSP Syntax_1
JSP Syntax_1
brecke
 
jQuery1.2.cheatsheet.v1.0_1
jQuery1.2.cheatsheet.v1.0_1jQuery1.2.cheatsheet.v1.0_1
jQuery1.2.cheatsheet.v1.0_1
brecke
 
jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2
brecke
 
jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1
brecke
 
javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1
brecke
 
git-cheat-sheet
git-cheat-sheetgit-cheat-sheet
git-cheat-sheet
brecke
 

Más de brecke (11)

jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2
 
jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1
 
git-cheat-sheet
git-cheat-sheetgit-cheat-sheet
git-cheat-sheet
 
Rails_3_Cheat_Sheets
Rails_3_Cheat_SheetsRails_3_Cheat_Sheets
Rails_3_Cheat_Sheets
 
rails-migrations_1
rails-migrations_1rails-migrations_1
rails-migrations_1
 
JSP Syntax_1
JSP Syntax_1JSP Syntax_1
JSP Syntax_1
 
jQuery1.2.cheatsheet.v1.0_1
jQuery1.2.cheatsheet.v1.0_1jQuery1.2.cheatsheet.v1.0_1
jQuery1.2.cheatsheet.v1.0_1
 
jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2jQuery-Visual-Cheat-Sheet-1.4.2
jQuery-Visual-Cheat-Sheet-1.4.2
 
jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1jQuery Visual Cheat Sheet (by WOORK)_1
jQuery Visual Cheat Sheet (by WOORK)_1
 
javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1
 
git-cheat-sheet
git-cheat-sheetgit-cheat-sheet
git-cheat-sheet
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

javascript-cheat-sheet-v1_1

  • 1. Methods DOM Methods JavaScript Object Document toString clear toLocaleString createDocument valueOf createDocumentFragment hasOwnProperty createElement isPrototypeOf createEvent propertyIsEnumerable XMLHttpRequest REGULAR EXPRESSIONS - FORMAT createEventObject createRange Safari, Mozilla, Opera: Regular expressions in JavaScript take String createTextNode charAt var req = new XMLHttpRequest(); the form: getElementsByTagName charCodeAt Internet Explorer: var RegEx = /pattern/modifiers; getElementById fromCharCode var req = new write concat ActiveXObject("Microsoft.XMLHTTP"); REGULAR EXPRESSIONS - MODIFIERS indexOf Node lastIndexOf addEventListener localeCompare XMLHttpRequest Object Methods /g Global matching appendChild match /i Case insensitive attachEvent replace cloneNode abort() /s Single line mode search createTextRange slice getAllResponseHeaders() /m Multi line mode detachEvent split getResponseHeader(header) dispatchEvent substring open(method, URL) fireEvent REGULAR EXPRESSIONS - PATTERNS substr getAttributeNS send(body) toLowerCase getAttributeNode toUpperCase setRequestHeader(header, value) ^ Start of string hasChildNodes toLocaleLowerCase $ End of string hasAttribute toLocaleUpperCase XMLHttpRequest Object Properties . Any single character hasAttributes insertBefore (a|b) a or b RegEx removeChild onreadystatechange (...) Group section removeEventListener test match readyState [abc] Item in range (a or b or c) replaceChild exec responseText [^abc] Not in range (not a or b or c) scrollIntoView responseXML a? Zero or one of a Array Form status a* Zero or more of a submit concat join statusText a+ One or more of a push a{3} Exactly 3 of a DOM Collections pop item XMLHttpRequest readyState Values a{3,} 3 or more of a reverse shift a{3,6} Between 3 and 6 of a Range slice 0 Uninitiated !(pattern) "Not" prefix. Apply rule when collapse sort 1 Loading URL does not match pattern. createContextualFragment splice 2 Loaded moveEnd unshift moveStart 3 Interactive parentElement EVENT HANDLERS Number 4 Complete select toFixed onAbort onMouseDown setStartBefore toExponential JAVASCRIPT IN HTML onBlur onMouseMove toPrecision Style onChange onMouseOut getPropertyValue External JavaScript File Date onClick onMouseOver setProperty <script type="text/javascript" parse onDblClick onMouseUp src="javascript.js"></script> toDateString Event Inline JavaScript onDragDrop onMove toTimeString initEvent getDate <script type="text/javascript"> onError onReset preventDefault getDay <!-- onFocus onResize stopPropagation getFullYear // JavaScript Here onKeyDown onSelect getHours //--> XMLSerializer onKeyPress onSubmit getMilliseconds serializeToString </script> onKeyUp onUnload getMinutes getMonth onLoad XMLHTTP getSeconds open getTime Functions send getTimezoneOffset FUNCTIONS AND METHODS getYear Window Built In XMLDOM alert eval A method is a type of function, associated setDate loadXML setHours blur parseInt with an object. A normal function is not setMilliseconds clearTimeout parseFloat associated with an object. DOMParser setMinutes close isNaN parseFromString setMonth focus isFinite open decodeURI Available free from setSeconds setYear print decodeURIComponent AddedBytes.com toLocaleTimeString setTimeout encodeURI encodeURIComponent escape unescape