programming
jQuery bug when using the change() event on a checkbox in IE
by necrobutcher on Apr.02, 2009, under programming, true
in jQuery on IE, the change() event doesn’t fire until you click out of the box after changing the value.
work around is to use click() instead of change().
hopefully this will get fixed with the new version. its been an issue for 2 years now …
number one result for the UK and global in well under 6 hours
by necrobutcher on Mar.31, 2009, under programming, true
That’s using the wordpress SEO extra and using a long but competitive search term.
page 2 of google UK results for the search term in 18 minutes
by necrobutcher on Mar.30, 2009, under programming, true
not bad. wordpress, i love you
MySQL – Error Invalid parameter for CSV import: Lines terminated
by necrobutcher on Mar.26, 2009, under programming, true
If you’re in the same position as me and stuck with a big CSV file thats needing imported into a MySQL database, you’ll probably have seen this error.
Error Invalid parameter for CSV import: Lines terminated
The way to get round this is to put a space instead of a “/” in the Fields Escaped By box and you should be sorted.
Replace “auto” with “\n” and you’ll be able to import.
Hopefully saves someone some time.
having problems resizing multiple images in codeigniter?
by necrobutcher on Mar.13, 2009, under programming, true
weird problem with codeigniter where we were trying to resize an image and then create a thumbnail for it too.
turns out that the $config array only gets initialized once when you call the image_lib library.
fix is to call
$this->image_lib->initialize($config);
before every resize() function.