August 21, 2012
JavaScript Confirm Modal using Bootstrap
Back in the olden days you might have added code like this to your form onsubmit, or an anchor to do a javascript confirmation box:<a href="delete.
January 25, 2011
HTML5 SQL DB vs localStorage
I've now built some mobile applications using both HTML5's localStorage and the HTML5 Embedded SQLite Database (aka Web SQL Database).
October 29, 2010
Getting Started with jQuery Mobile
Yesterday I had a chance to get my feet wet with the Alpha 1 release of jQuery Mobile for one of my clients. Prior to yesterday I had been working with jqTouch for mobile UI.
August 16, 2010
jQuery UI Autocomple IE 6 Select List z-Index Issues
If you are using jQuery UI's Autocomplete control, your IE6 users may experience some issues when the autocomplete suggestions overlay a HTML <select> list. The autocomplete suggestions show up behind the select list in Internet Explorer 6.
July 21, 2010
Cross Domain Data Theft using CSS
FireFox (3.6.7) released today fixed an interesting security vulnerability called Cross Domain Data Theft using CSS discovered by Google security researcher Chris Evans.
July 14, 2010
Using jQuery UI Autocomplete with Hidden ID's
The new autocomplete widget in jQuery UI 1.8 is a nice addition. While it works great for basic purposes working with ID / value pairs is not so nice out of the box.
May 03, 2010
Howto Remove Skype Plugin Markup with jQuery
If you have installed the latest version of Skype on Windows, it automatically installs browser plugins for IE and FireFox. The browser plugin detects phone numbers on the page injects markup with clickable links to dial the number in Sykpe.
January 07, 2010
jQuery UI Sortable Tutorial
Here's a simple tutorial showing how to use jQuery UI's sortable plugin to update a database table's sort order field on the fly using ajax.
June 30, 2009
Ajax Same Origin Policy No More with Firefox 3.5
Firefox 3.5 now allows you to make AJAX Requests, or more correctly XMLHttpRequests cross domain (in other words foo.com can make XHR requests to bar.com). When I heard about this, my first is that they would use the cross-domain.xml file that Flash has supported for years to achieve this.
November 26, 2008
Google's JavaScript API Loader
Did you know Google's JavaScript Loader API can serve up popular javascript frameworks such as jQuery, and Prototype using their content distribution network? It works like this:<script src="http://www.google.
October 08, 2008
Geolocation API for Adobe AIR?
Mozilla recently announced a new project called Geode - which allows web sites to request your location using JavaScript. I assume this will be built into a future release of Firefox someday, but for now it's a Plugin.
February 25, 2008
Adobe AIR Tutorial for HTML / JavaScript Developers
I spent a some time this weekend preparing for the Adobe AIR & Flex 3 Launch Event at my ColdFusion user group. One thing I wanted to show people was how to build a simple Adobe AIR Desktop Application using HTML & JavaScript.
December 12, 2007
Ext CFC
Brian Love has released Ext.cfc which allows you to easily use the Ext.js library with ColdFusion. This makes it easy to create a CFGRID like UI in JavaScript, without CFGRID, or ColdFusion 8.This was also covered on the Ext blog and Ajaxian - nice work Brian!
December 19, 2006
CFDUMP For JavaScript
Of all the tags in ColdFusion, CFDUMP has to be one of the handiest tags. Any ColdFusion developer who uses the tag has probably at some point wanted to use it in other languages.
December 06, 2006
GoogleBot Runs AJAX?
I saw this curious line in my log files today:212.36.25.102 - - [06/Dec/2006:17:00:50 +0000] "POST /suggest.cfm HTTP/1.1" 200 232 "-" "Googlebot/2.1 (+http://www.googlebot.com/bot.html)"
That's GoogleBot doing a POST operation to suggest.
December 06, 2006
Howto Build Server Side AJAX Suggestions with script.aculo.us
I'm a big fan of the script.aculo.us javascript library. I have been using some of the effects on a dashboard console for one of my clients, it has been quite nice to work with, and has really helped improve the user experience.I also used script.aculo.us on cssdocs.
October 06, 2006
Uploading Files Like GMail Attachments
Google's GMail has a nice way of allowing you to add multiple attachments to an email. Rather than showing you 10 file upload boxes at once, the user attaches a file, you can click a button to add another attachment.
September 28, 2006
Tracking JavaScript Events with Google Analytics
Did you know that you can track JavaScript events with Google Analytics? I just found this out... It's pretty cool, because allows you to track things like outbound link clicks, AJAX calls, static files, and more.
May 08, 2006
FireFox Click Wheel does not fire onclick Event
I just noticed something today in Firefox (on Windows, probably the same on Mac haven't tested yet). Suppose you have a link with a JavaScirpt onclick event such as:<a href="deleteTB.
December 13, 2005
AJAX Tutorial with Prototype
Here's the AJAX prototype example that I used in my AJAX presentation today.I wanted to give an example of a good use of AJAX, and at the same time keep it simple. So I thought a good example
would be to build a zip code verifier.
December 13, 2005
AJAX Presentation Outline
Here's an outline of the presentation on AJAX that I gave today at my ColdFusion users group meeting.
November 23, 2005
Add an Amazon Wishlist to your Blog or Site
I built a simple tool that lets you create an amazon wishlist blog badge. It generates compliant HTML via some javascript that you can insert into your blog or website template, and style with CSS.Here's an example:
img.
September 01, 2005
Cheat Sheet Roundup - Over 30 Cheatsheets for developers
Lets face it, unless you have a photographic memory, no developer can remember all the different functions, options, tags, etc. that exist. Documentation can be cumbersome at times, thats why I like cheat sheets.
August 17, 2005
AJAX on IE - back to the IFRAME
On Internet Explorer in order to write AJAX based web applications you have to use an ActiveX object. var request = new ActiveXObject("Microsoft.
May 11, 2005
GreaseMonkey User Scripts
After hearing a lot about grease monkey I finally got around to installing it and playing with it, and it's pretty cool!.What is greasemonkey?
It's simply a firefox extension that allows you to run JavaScript User Scripts when the current page matches a URL pattern specified.
December 29, 2004
Venkman JavaScript Debugger Firefox Extension
I just came across a JavaScript Debugger Extension for Firefox. It's a little slow and clunky still, but it looks like it is in active development. The mozilla debugger looks much better than the Microsoft Script Debugger.Screen Shot:





