JavaScript

How to Make a Cross Domain AJAX Request with jQuery

I am currently working on a project that required me to make a cross-domain AJAX request using jQuery. This is a function that is disabled by default because of security implications, however, there is occasionally a need for this type of request. In this case, I need to load content from a remote URL or [...]


How to get Fixed Header and Footer Toolbars in jQuery Mobile 1.0

At Zipline Interactive, we have been doing mobile websites for a number of years. When we originally started building them, most customers were satisfied with a very simple website but as the mobile market has grown and more and more users have smartphones, many customers expect their mobile website to function much like a mobile [...]


Easily Find the Latest Versions of Javascript Libraries at Google Code

A couple days ago Dustin brought a great site to my attention. It is called ScriptSrc.net and is located at: http://scriptsrc.net/. Using this site, a developer can easily locate and copy the latest stable version of their favorite library. This can be a real time saver in searching out the various library links. It would [...]


Google Analytics Not Tracking Data on Your Website? Could be a JavaScript Error.

This fix wont solve all Google Analytics tracking problems but it does address a specific issue. Outside of this problem, there are many other issues including disabled cookies, disabled JavaScript etc. that cannot be helped or fixed. If you have an existing website and Google Analytics is installed properly but is not collecting data please [...]


Software to Automatically Make a HTML version of a Dynamic Website

It seems like there are a million different content management systems out there. Some like the ZLCMS system we use at Zipline are transferrable to another web host but occasionally we have run into web development companies with ‘proprietary’ content management systems. Many of these companies won’t allow their customers to transfer their website to [...]


How to Detect IE6 Browser with JavaScript

I have been doing a lot of work with jQuery lately. The jQuery library offers great cross browser support for most functions but unfortunately even this magic wand can’t solve all the problems with Internet Explorer 6 (IE6) compatibility. Previously, jQuery had a browser() function that helped detect a browser so that a developer could [...]


A Little Known List of JavaScript Functions Equivalent to PHP Functions in jQuery

Many of us PHP developers often find working with JavaScript arrays to be a frustrating task. PHP has a number of very powerful built in functions like: in_array(), is_array(), array_merge(), array_map(), and array_unique() that are just plain missing in JavaScript. Over the years, many of these functions have been ported into JavaScript buy developers much [...]


Problem with jQuery UI Datepicker and Copied Dynamic DOM: Solved

Today, I ran into an interesting problem with the jQuery UI Datepicker, for which I couldn’t find any assistance. In retrospect, it was a fairly simple issue but it took me quite awhile to debug. If I didn’t have Firebug, I don’t think it would’ve ever been solved this issue. I spent a great deal [...]


What is JavaScript’s Equivalent to PHP strip_tags()

A couple of days ago I was working on a project using jQuery where I was traversing through a table and totaling several numeric values. The problem I ran into was that most of these values were wrapped in HTML tags and the tags were not standardized from field to field so a simple replace() [...]


Stupid Simple jQuery Accordion Menu

This is a very simple tutorial on how to implement an accordion style menu using jQuery to manipulate a grouping of DIV elements. This system is so simple it could be easily utilized by someone who has little or no jQuery experience.

This example provides a complete overview of the implementation as well as a demo and code download to help you get the system running on your web based application.