Improve your jQuery

jQuery has been out there for a while now. Many web developers use it thanks to its simplicity. But because you can use it intuitively there is a chance you might overuse it. Because not all browsers out there can easily deal with lots of JavaScript your enhancements might decrease the user experience – definitely the opposite of what you wanted. So how can you avoid it?

jQuery :random filter

While working on a new JavaScript mockup I needed a way to obtain a random jQuery item. While I could use jQuery(“selector”).get(int) to get a random item, I wanted to have a cleaner way of doing that to keep my code clean.

RenderAllHiddenFieldsAtTopOfForm – is it really a SEO solution?

Yesterday I’ve found out about one of the new features of .NET 3.5 SP1: the renderAllHiddenFieldsAtTopOfForm setting which allows you to control where in the page the hidden fields are being rendered. Today I gave it a shot in combination with a SharePoint Web Content Management solution…

JavaScript date formatting .NET style

It’s quite surprising for a .NET developer to see that JavaScript doesn’t provide any mechanism to format dates. Considering how powerful JavaScript is, especially in environments where custom development is limited or not allowed, you can provide some great experience using JavaScript only. But just because something isn’t there out of the box, it doesn’t mean we can’t make it ourselves.