Difference between revisions of "JavaScript Concepts"

From The Travis van der Font Wiki
Jump to: navigation, search
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
=== Misc ===
 +
* [[JavaScript: Creating a Custom Callback Function|'''Creating a Custom Callback Function''']]
 
* [[JavaScript: 534 ways to reload a page|'''534 ways to reload a page with JavaScript''']]
 
* [[JavaScript: 534 ways to reload a page|'''534 ways to reload a page with JavaScript''']]
 +
* [[JavaScript: Loading JavaScript before the DOM (ready event & window onload)|'''Loading JavaScript before the DOM (ready event & window onload)''']] '''**'''
 +
* '''[[JavaScript: Specific element exist or variable defined/undefined|Specific element exist or variable defined/undefined]] **'''
 
* [[JavaScript: Redirecting to another page|'''Redirecting to another page''']]
 
* [[JavaScript: Redirecting to another page|'''Redirecting to another page''']]
 
* [[JavaScript: Redirect form submit to get action|'''Redirect form submit to get action''']]
 
* [[JavaScript: Redirect form submit to get action|'''Redirect form submit to get action''']]
 
* [[JavaScript: Auto Scroll to the top of a page|'''Auto Scroll to the top of a page''']]
 
* [[JavaScript: Auto Scroll to the top of a page|'''Auto Scroll to the top of a page''']]
* [[JavaScript: Delete a div by its class name|'''Delete a div by its class name''']]
+
* '''[[JavaScript: Fading out an element|Fading out an element]]'''
* '''[[JavaScript: Deleting a DOM element|Deleting a DOM element]]'''
 
 
* [[JavaScript: Stop post or get method from being processed by a submit input type|'''Stop post or get method from being processed by a submit input type''']]
 
* [[JavaScript: Stop post or get method from being processed by a submit input type|'''Stop post or get method from being processed by a submit input type''']]
 
* The Difference between native onClick and jQuery.click()
 
* The Difference between native onClick and jQuery.click()
* [[JavaScript: Calculating the distance between two points of latitude and longitude (Haversine Formula)|'''Calculating the distance between two points of latitude and longitude (Haversine Formula)''']]
+
* '''[[JavaScript: Disabling ALL input fields|Disabling ALL input fields]]'''
* '''[[JavaScript: Creating GUID / UUID|Creating GUID / UUID]]'''
+
* '''[[PHP: How to pass variables from PHP to JavaScript|How to pass variables from PHP to JavaScript]]'''
* [[JavaScript: Getting the second level parent of an element|'''Getting the second level parent of an element''']]
+
* [[JavaScript: JQuery passing parameters into click() event handler function|'''jQuery passing parameters  into click() event handler function''']]
 +
* '''[[JavaScript: jQuery not triggering for dynamically created inputs|jQuery not triggering for dynamically created inputs]]'''
 +
* '''[[JavaScript: Confirmation Box|Confirmation Box]]'''
 +
* '''[[JavaScript: Infinite timer loop|Infinite timer loop]]'''
 +
* [[JavaScript: Browser Detection|'''Browser Detection''']]
 +
* '''[[The JavaScript Complete|''The JavaScript Complete'']]'''
 +
 
 +
=== Internet Explorer Troubles ===
 +
* [[JavaScript: Object doesn't support property or method 'forEach' on Internet Explorer|'''Object doesn't support property or method 'forEach' on Internet Explorer''']]
 +
* [[JavaScript: Options with display:none not hidden on Internet Explorer|'''Options with display:none not hidden on Internet Explorer''']]
 +
 
 +
=== References / Cheat Sheets ===
 +
* [https://devhints.io/es6 '''ES2015+ cheatsheet by devhints.io''']
 +
 
 +
=== Functions / Methods ===
 +
* [[JavaScript: Mastering Prototype|'''Mastering Prototype''']]
 +
 
 +
=== Using APIs ===
 
* [[JavaScript: Using the Ajax jQuery API|'''Using the Ajax jQuery API''']]
 
* [[JavaScript: Using the Ajax jQuery API|'''Using the Ajax jQuery API''']]
 
* [[JavaScript: Using the fetch API|'''Using the fetch API''']]
 
* [[JavaScript: Using the fetch API|'''Using the fetch API''']]
 
* [[JavaScript: Google Maps API|'''Google Maps API''']]
 
* [[JavaScript: Google Maps API|'''Google Maps API''']]
 +
 +
=== Creating (Making) ===
 +
* [[JavaScript: Dynamically creating a drop-down list (select)|'''Dynamically creating a drop-down list (select)''']]
 +
* '''[[JavaScript: Creating GUID / UUID|Creating GUID / UUID]]'''
 +
 +
=== Updating (Setting) / Changing / Modifying ===
 +
* '''[[JavaScript: Updating an input value from an onclick|Updating an input value from an onclick]]'''
 +
* '''[[JavaScript: Change select - the last option to become the first option|Change select - the last option to become the first option]]'''
 +
* '''[[JavaScript: Change CSS value (background, etc)|Change CSS value (background, etc)]]'''
 +
* '''[[JavaScript: Toggle hide/show automatically|Toggle hide/show automatically]]'''
 +
 +
=== Retrieving / Finding (Getting) ===
 +
* [[JavaScript: Getting data attributes by class name|'''Getting data attributes by class name''']]
 +
* '''[[JavaScript: Getting an element by data attribute|Getting an element by data attribute]]'''
 +
* [[JavaScript: Getting the second level parent of an element|'''Getting the second level parent of an element''']]
 +
* '''[[JavaScript: Getting the last option value in a select|Getting the last option value in a select]]'''
 +
* [[JavaScript: Getting a data attribute from an onclick event|'''Getting a data attribute from an onclick event''']]
 +
* [[JavaScript: Getting a DIV from a data attribute (using a class element)|'''Getting a DIV from a data attribute (using a class element)''']]
 +
 +
=== Deleting (Removing) ===
 +
* [[JavaScript: Delete a div by its class name|'''Delete a div by its class name''']]
 +
* '''[[JavaScript: Deleting a DOM element|Deleting a DOM element]]'''
 +
* [[JavaScript: Removing duplicates from a select|'''Removing duplicates from a select''']]
 +
 +
=== Calculating / Sorting ===
 +
* [[JavaScript: Counting the length of objects within an object|'''Counting the length of objects within an object''']]
 +
* [[JavaScript: Sorting a select|'''Sorting a select''']]
 +
* [[JavaScript: Calculating the distance between two points of latitude and longitude (Haversine Formula)|'''Calculating the distance between two points of latitude and longitude (Haversine Formula)''']]
 +
 +
=== Converting ===
 +
* '''[[JavaScript: Convert a boolean into an integer|Convert a boolean into an integer]]'''
 +
* '''[[JavaScript: Convert an object into an array|Convert an object into an array]]'''
 +
* '''[[JavaScript: Convert a string value of true or false into a boolean|Convert a string value of true or false into a boolean]]'''
 +
* [[JavaScript: Direct String Replace Functionality Example|'''Direct String Replace Functionality Example''']]
 +
 +
== Resources ==
 +
* [http://kangax.github.io/compat-table/es6/ ECMAScript Compatibility Table]

Latest revision as of 12:19, 6 June 2019

Misc

Internet Explorer Troubles

References / Cheat Sheets

Functions / Methods

Using APIs

Creating (Making)

Updating (Setting) / Changing / Modifying

Retrieving / Finding (Getting)

Deleting (Removing)

Calculating / Sorting

Converting

Resources