Posts about jQuery

How to use CORS requests in Internet Explorer 9 and below.

This article explains how you can automatically proxy CORS requests (Cross-origin resource sharing) in jQuery without changing your existing code. The proxy…

Adding a required indicator in ASP.NET MVC3 using jQuery

You might want to visually indicate that fields in ASP.NET MVC3 are required.

griffin.editor: Added support for Google Prettify

I’ve just refactored the highlighting features of griffin.editor. You can now use your favorite highlighter by implementing the…

Two new jQuery plugins

I’ve created examples for two of my newer jQuery plugins:

Introducing griffin.editor – a jQuery textarea plugin

I’ve tried to find a jQuery editor plugin which works out of the box without configuration. The WMD editor used by stackoverflow.com looked nice but I…

Localizing jQuery plugins

I’ve spent some time figuring out how to localize my jQuery plugins and I’ve just found out a way that works just fine. Disclaimer: I’m not 100% sure of how…

Handling JSON responses in jQuery plugins

I’ve been coding several jQuery plugins lately and most of my plugins use Ajax and JSON to handle data. Each plugin gets a specific JSON string returned that…

jQuery UI autocomplete: Uncaught TypeError: Cannot read property ‘element’ of undefined

I got that exception when I loaded some options through JSON (with ASP.NET MVC). It took a lot of digging before I finally found the cause. And it’s not what…