//Javascript
Optimize Website Speed with Asynchronous and Deferred Javascript
Most, if not all, websites today use a lot of Javascript. Social media buttons? Plugins? Even themes? 90% of the time, there’s script embedded. You’re running scripts, and scripts slow down the page load. Here are 2 plugins to help solve this problem. Notes from Webmaster Asynchronous and Deferred Three things to remember: Parsing..
See more- 72 views
- 0 Comments
How to print a number with commas as thousands separators in JavaScript
function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, “,”); } This is all you really need to know. The regex uses 2 lookahead assertions: a positive one to look for any point in the string that has a multiple of 3 digits in a row after it, and a negative assertion to make sure that point only has..
See more- 50 views
- 0 Comments
What is Ajax
What is AJAX? AJAX = Asynchronous JavaScript and XML. In short; AJAX is about loading data in the background and display it on the webpage, without reloading the whole page. Examples of applications using AJAX: Gmail, Google Maps, Youtube, and Facebook tabs. You can learn more about AJAX in our AJAX tutorial. What About jQuery and..
See more- 47 views
- 0 Comments