This seems really simple but I can't get it working...
function myfunction(id)
{
alert("ID: " + id);
}
There is a fiddle here http://jsfiddle.net/66ALW/
The error I get in Firebug is ReferenceError: myfunction is not defined http://fiddle.jshell.net/_display/ (1) Line 1