Dynamic Apple Smart App Banners

Dynamic Apple Smart App Banners

I recently had a requirement that needed to show one of two Smart App Banners, depending on whether you came to the page on an iPhone or an iPad. I Initially tried to just append the meta tags to the head using jQuery, but that did not work, as the page had already processed the […]

Passing an Object as an Argument into a Function With Javascript

Passing an Object as an Argument into a Function With Javascript

So, I didn’t find this out until a few weeks ago, but you can pass an object as a function argument, if you create the function correctly. First, I will show you a traditional function creation and call. function doSomething(firstName, middleI, lastName){ console.log(’First Name: ‘ + firstName); console.log(’Middle Initial: ‘ + middleI); console.log(’Last Name: ‘ […]

%d bloggers like this: