Javascript RSS

Follow our Javascript RSS feed for all blog posts regarding anything Javascript. Thanks for reading and we hope you enjoyed your visit. If you're looking for more articles use our search above or visit The Programmer blog for the latest and greatest.

async, Javascript

Welcome back fam! It's been quite awhile since we've written a blog post at System Out Of Memory but the time has come. Let's explain one of the top C# questions, how to return the response from and async call.   For anyone starting out let's explain the exact meaning of "ajax". To start let's understand that "AJAX" means Asynchronous JavaScript And XML....

Read more

cheatsheet, Javascript

We have compiled a list of almost all of the JavaScript functions you will ever need! This is a nice guide to keep on hand when digging into web development with Vanilla JavaScript. Check out our Javascript Cheat Sheet below. JavaScript Booleans toSource() valueOf() toString() JavaScript Strings charAt() slice() charCo­deAt() split()  concat() substr() fromCh­arC­ode() substr­ing() indexOf() toLowe­rCase() lastIn­dexOf() toUppe­rCase() length...

Read more

Javascript, JSON, KnockoutJS

When using KnockoutJS and the Knockout Mapping Plugin, you may notice extra properties are being serialized with your viewmodels, ex. "__ko_mapping__" or "copiedProperties" objects. JSON Example: { "MyObject": { "Id": "00000000-0000-0000-0000-000000000000", "Type": 1, "Name": "Default MyObject" }, "__ko_mapping__": { "ignore": [], "include": ["_destroy"], "copy": [], "observe": [], "mappedProperties": { "MyObject.Id": true, "MyObject.Type": true, "MyObject.Name": true }, "copiedProperties": {}, "": {}...

Read more

API, Javascript

One of the key ingredients to an AJAX driven website is the ability to reliably get query string parameters. We will run through an example using the new URLSearchParams API and also a Javascript only implementation for legacy browsers. Using the URLSearchParams Web API Consider the url http://www.systemoutofmemory.com?id=1&firstName=Bob&hobby=Baseball&hobby=Basketball Get the query string params var queryParams = new URLSearchParams(window.location.search); Iterate &...

Read more