[eluser]Randy Casburn[/eluser]
[quote author="Colin Williams" date="1220176647"]
You can also shorten your code, for what it's worth:
Code:
$(function () {
alert('This is shorter!');
});
[/quote]
Not sure what you mean by this. He was constructing an event handler on the click event of the anchor tag with the id= 'test'
Written the way you have it, there is no event handler.
Randy