s.success is not a function
Submitted by Gold on Thu, 05/21/2009 - 17:31.This post is about JavaScript, jQuery and annoying errors that don't seem to have a solution out there. Right, keywords done. Here's the problem and the solution I used;
I was having an issue with a jQuery call that was returning the following error;
s.success is not a function
The code that was generating this was the callback function on the successful return from a getJSON() call. This is the original script;
call = '/admin/ts2/pending/approve/'+sid+'/'+c1+'/'+c2+'/'+c3; $.getJSON(call, '', 'process_approved');
- Gold's blog
- Add new comment
- Read more
- 80 reads
YouTube lose the plot...
Submitted by Gold on Tue, 03/31/2009 - 09:53.YouTube suspended the JREF account. There's no news yet from the JREF as to why this has happened but I'll keep an eye on it and post updates as I find them.
To complain to youtube follow this link;
Scroll to the very bottom and click on "new issue"
Select "suspended account" from the options and express your opinion.
- Gold's blog
- Add new comment
- 35 reads
#ChchTweetup take 2
Submitted by Gold on Tue, 03/31/2009 - 08:01.We had 5 (including me) show up for last nights #chchtweetup. Lasted for about 2-3 hours. Not a bad gathering for such short notice.
So, take 2. This time with a weeks notice, same setup.
Location: The Twisted Hop, 6 Poplar Lane, Christchurch.
When: 5:30pm (weekdays) 1pm (weekend)
Date: Tue(2009-04-07)
Based on the votes below the fold...
- Gold's blog
- 5 comments
- Read more
- 407 reads
A Tweetup Experiment
Submitted by Gold on Mon, 03/30/2009 - 10:58.The short version: Tweetup here, 5:30pm until whenever. Look for the guy in the big boots(You'll know them when you see them).
The long version: I was just contacted out of the blue by @ghozali asking about a Christchurch Tweetup. After a little investigation and coming to the conclusion that this person wasn't insane or a spammer I thought I'd follow up on it. I was under the impression that "Tweetup" was a functional site but a quick search proved otherwise.
So, with that in mind I'm resorting to a generic blog post and the use of #hashtags.
- Gold's blog
- 1 comment
- Read more
- 289 reads
Risky Business
Submitted by Gold on Wed, 03/18/2009 - 10:46.
Risky Business is a security related podcast from Sydney, Australia. This site grew out of the Risky Business podcast which was hosted on ITRadio. The podcast started in February 2007 and was relaunched on the new site for it's centennial episode.
- Read more
- 112 reads
IE6/7 a:hover bug
Submitted by Gold on Fri, 01/16/2009 - 11:27.I've just had an annoying couple of hours trying to fix a bug in IE 6/7. I had an interesting CSS error where the background of the parent element was disappearing when an anchor was moused over.
BWMsnow and SkateGear were having the same problem. Here, we have an image logo, wrapped in an anchor, wrapped in an <h1>, wrapped in a page-header div. It looks like this;
- Gold's blog
- Add new comment
- Read more
- 157 reads
Survived the first year
Submitted by Gold on Wed, 09/17/2008 - 11:49.Well... I've done it. Today marks my first year in business for myself. For the most part it's been a learning experience and, I'm pleased to say, profitable.
There have been a few hiccups with some clients and their ability to pay on time and pay according to the terms they agreed too. One of these has effectively been fired. Having weathered that though, things are looking up. I've managed to form a good relationship with a number of reputable companies, I have good projects coming up and a little cash in reserve.
Confidence in this self-employment thing is high.
- Gold's blog
- 1 comment
- Read more
- 137 reads
Google Chrome and that damned EULA
Submitted by Gold on Thu, 09/04/2008 - 09:21.
So, Chrome has been released and from all reports it's a pretty impressive piece of software. There seems to be a lot if debate over the EULA and its rather God-like claim of ownership any and all content sent or displayed in the browser. In the context of a Web browser the EULA is just insane.
- Gold's blog
- 1 comment
- Read more
- 141 reads
Drupal Core update
Submitted by Gold on Wed, 08/20/2008 - 09:43.All SLA clients are now updated and running the latest Drupal Core (5.10/6.4). This update is a maintenance release fixing problems reported using the bug tracking system, as well as critical security vulnerabilities.
You can see the details here and here. The major fix is security related.
- Gold's blog
- Add new comment
- 11 reads
pager_query() peculiarities
Submitted by Gold on Thu, 07/31/2008 - 15:11.I'd been banging my head against this for a while now and finally dug around in includes/pager.inc to figure out what was going on...
The situation;
I had a query and while pager_query() returned the correct results theme('pager') always returned way too many pages.
- Gold's blog
- Add new comment
- Read more
- 123 reads