RSS Feed

I was scouring the internet looking for a freely available “Password Strength Meter” script. You’ve probably all come across them. The vast majority are useless. They’re useless because they use mainly empirical methods to determine the strength of a password. Whilst empirical methods may provide a good estimate for the strength of a password subject to a brute force attack. Most don’t even consider dictionary or hybrid-dictionary attack mechanisms. So… I decided to make my own.




If you’ve been programming in PHP, or other object oriented languages, you may have come across “this” or “self”. With jQuery, we can write $(this) to select an element in the DOM (Document Object Model). In this tutorial, I’ll demonstrate how and why $(this) is useful. To do this, we’ll be writing a simple image rollover script.




This is part 2 of the “jQuery From Scratch” series of tutorials. If you have not read part 1, you can have a quick read. This tutorial will deal with writing and executing functions in JavaScript. jQuery does not provide a quick method for creating functions. That’s because it doesn’t need to. So what are functions? Instead of giving you the standard definition, I’ll explain why/when you might want to create and use functions in your code. Of course, I’ll also explain how to write and execute functions.




Unordered lists have a number of useful applications. They are commonly used to structure a site’s navigation. I have found, in a number of web applications, that the ability to reorder (sort) such lists would be extremely useful. So, how can this be achieved?