Posted by Chris Anderton on June 11th, 2009 @ 22:52 – 0 comments
Updated on June 11th, 2009 @ 22:53
Tagged with javascript
We've got a couple of projects on the go right now where a Facebook style multi-select (with or without autocomplete) is a good fit for making the user interface more, err, useable.
As ever, searching around there are a number of options - especially given the number of Javascript frameworks around. For us, things are also complicated by the fact that not all our projects use the same Javascript libraries - we're not always responsible for the front-end code and as such some clients already have a dependency on, or a preference for a given library.
Read more of this entry
Posted by Rob Anderton on April 10th, 2009 @ 00:01 – 0 comments
Updated on April 10th, 2009 @ 00:11
Tagged with javascript
Let’s say we have a JavaScript function that looks like this:
function plot(options) {
options = options || {};
this.onUpdate = options.onUpdate;
//
// more code to do something interesting
//
}
Read more of this entry
Posted by Rob Anderton on April 5th, 2009 @ 01:00 – 4 comments
Updated on April 3rd, 2009 @ 21:41
Tagged with javascript
Last week I had the fun of trying to fix what appeared to be random InvalidAuthenticityToken exceptions coming from a page using Ajax requests. I eventually tracked the problem down to this snippet of JavaScript (and in my defence I didn't write the code, honest!):
Read more of this entry
Posted by Rob Anderton on September 13th, 2008 @ 18:15 – 1 comment
Updated on October 30th, 2008 @ 08:37
Tagged with javascript
I’ve always enjoyed a kind of love/hate relationship with JavaScript, something which I think stems from my early exposure to using it on Microsoft platforms in the late 90’s, using half-baked debuggers, inconsistent browsers and a huge degree of trial and error. It’s not that I can’t write clever things in JavaScript, just that it’s not my most favourite job: if I can delegate to someone else I usually will!
Last week I was left with no choice but to roll up my sleeves and get coding: I was putting together a financial trading application prototype for one of our new clients and wanted to use JavaScript and JSON to periodically update pricing information.
Read more of this entry
Posted by Rob Anderton on April 8th, 2008 @ 18:55 – 13 comments
Updated on June 10th, 2008 @ 12:13
Tagged with javascript
So today I found myself in need of a WYSIWYG editor for the admin pages of the site I’m currently working on. I’ve used FCKEditor and Scott Rutherford’s Rails plugin before and Chris has recently been using TinyMCE for a few of our other projects but both of them seemed too heavy, especially when the project requirements only stated a need to apply simple formatting like bold, italic and headings.
Read more of this entry