Sortable List Example With Scriptaculous and PHP/mySQL



After spending a considerable amount of time looking for a decent example of "how to store the newly sorted order of a list after dragging and dropping", I realized that there isn't a whole lot of examples and documentation out there. I've decided that it's my turn to try and come up with a full blown, easy to understand example using XHTML, Javascript, PHP, and mySQL.

First off, you'll need both the scriptaculous and prototype javascript libraries (both available from Once you've downloaded these files, you'll need to reference them in the head of your file:

Read the rest of this entry »

feedtag thisdigg this

Debug JavaScript in IE



I ALWAYS use Firefox to debug my JavaScript code. There are plenty of plugins that allow for you to easily debug problems in your code. But what about when your code runs perfectly fine in Firefox, but not in IE? How do you debug your JavaScript code in IE? I've finally found the answer:

Step 1 - Enable script debugging.

Now the process for doing this is obvious. Go to "Tools -> Internet Options... -> Advanced". From here, find "Disable Script Debugging (Internet Explorer)", and "Disable Script Debugging (Other)". Now, follow me here... To enable script debugging, you need to uncheck these boxes. Very intuitive, I know. Once you've unchecked these two boxes, click "OK".

Read the rest of this entry »

feedtag thisdigg this

Fiddling With TiddlyWiki




UPDATE - 5/10
It has come to my attention that my co-worker actually uses a modified version of TiddlyWiki called GTDTiddlyWiki.

GTD Tiddly Wiki is a GettingThingsDone adaptation by NathanBowers of JeremyRuston's Open Source TiddlyWiki. The purpose of GTD Tiddly Wiki is to give users a single repository for their GTD lists and support materials so they can create/edit lists, and then print directly to 3x5 cards for use with the HipsterPDA. --


tiddlywikiI noticed a co-worker always entering things into some HTML interface every day. Finally, I had to find out just what this tool was. It turns out, that this tool was what he uses to organize his day. He uses it as his personal To Do list. I know that just knowing this, won't amaze you. The cool thing about this tool, is that all that is involved is a single '.html' file. That's right, he manages his personal life using a single '.html' file.

What? A Single HTML File?

A guy named Jeremy Ruston developed a cool tool called "TiddlyWiki", and it's made and functions completely off of JavaScript and HTML contained in one '.html' file. All you have to do is go to TiddlyWiki, and download this '.html' file and you can get started. Once opened in a browser (preferably Firefox), you can add to it whatever you please. Take a look at what I was able to do in about 2 minutes.

Read the rest of this entry »

feedtag thisdigg this

Tricklin On...