Connect with me
Search
Twitter Feed
Navigation

Entries in Javascript (4)

Wednesday
Nov032010

Configuring IIS 6.0 for Silverlight

By default when you deploy a Silverlight application to an IIS 6.0 server and try to load the page, you will get a JavaScript error:

Error: Unhandled Error in Silverlight Application
Code: 2104   
Category: InitializeError      
Message: Could not download the Silverlight application. Check web server settings

Click to read more ...

Monday
Jan252010

Cross Browser Copy and Paste - with ZeroClipboard *updated*

I previously wrote about a cross browser copy and paste using jQuery.Copy. Everything was fine until flash updated to version 10. It now throws a security warning. Jojo pointed out that were was another plugin using the same concept that avoids this security warning. Enter Zero Clipboard

Click to read more ...

Thursday
Apr162009

datejs - the javascript date library that will let you work with dates like a ninja

Dates in Javascript have always been a bit of a pain to work with because of the very limited API. Take this for example:

Parsing a date string and adding a week

var d = new Date(Date.parse("15/04/2009"));
d = d.setDate(d.getDate() + 7);

The above code is painful and unintuitive.

Enter DateJS

Click to read more ...

Wednesday
Mar042009

jQuery 1.3 - Case Insensitive :contains()

Ran into a bit of an issue today when I upgraded the jQuery on a website I was working on to the new 1.3.2 version. I got the following error:

Object doesn’t support this property or method.

There is a fix for this.

Click to read more ...