Some motivation Django has a field called ChoiceField which lets you very easily create a <select> dropdown in your forms. A great feature is the ability to transform nested choices into appropriate <optgroup> groups. For instance, the following code: …creates a field that when rendered looks something like this: The HTML that Django produced looks […]
I’ve released a minor update to Textarea Line Count. This release fixes two issues: Default options were not actually included in the plugin, although they are detailed in the documentation The plugin only took textareas as jQuery objects – it didn’t allow selectors (once again contrary to the documentation) You can grab the new downloads […]
jQuery UI 1.9 is finally here! What does that mean for dialogWrapper? Well, it would seem like the answer to that question is: nothing. A redesign of the dialog API is not present in version 1.9, and it doesn’t look like it will happen until the 2.0 release, according to the official site. The planned […]
IMPORTANT: Please read this blog post before updating. The latest version, by default, breaks compatibility with previous versions! I am happy to announce that dialogWrapper 2.1 has been released! Download/read about it at BitBucket: https://bitbucket.org/MostThingsWeb/dialogwrapper What’s new? The biggest change is that all methods are now namespaced! For example, instead of writing: … by default […]
I really enjoy exploring jQuery’s source code. Recently, I’ve been using James Padolsey’s jQuery Source Viewer. It’s a really neat tool that lets you type in the name of a function (even if it’s an internal function!) and view its source. Just today, I’ve discovered a different tool/series called JS Libs Deconstructed. Not only will […]
I’d like to announce my latest plugin: wrapDetector. wrapDetector is designed to do one thing: return a list of characters at which a line can wrap. I’ve created the project at BitBucket: https://bitbucket.org/MostThingsWeb/wrapdetector. If you find it interesting, give it a try. I look forward to hearing your feedback and suggestions.
Project Moved This project has moved to BitBucket: https://bitbucket.org/MostThingsWeb/textarea-line-count
In my Greasemonkey scripts, I sometimes find it necessary to alert the user in some way without using the alert() function. In any other web application, I would normally use Facebox, a wonderfully free jQuery plugin that displays Facebook style pop-ups. However, there are several obstacles to adding any (well, most) jQuery plugins to Greasemonkey […]