Contents tagged with javascript
TypeScript, the new CoffeeScript?
Today Microsoft’s Anders Hejlsberg introduced TypeScript, which basically is a language that compiles into JavaScript, very similar to CoffeeScript. There are some differences, though: whereas … more
Element cloning problems with jQuery mobile AJAX page transitions
I’m building a site that will mainly be used with mobile browsers (> 60 %), and so I decided to build it mobile first and then adapt to desktop browser widths with CSS media queries. Natural … more
JavaScript bind and curry polyfills
Although I’m a C# guy, I’ve recently really started to like JavaScript. It is so dynamic and “different” that it forces you to really think what you are doing and how do you … more
How-to localize jQuery UI Datepicker within ASP.NET MVC site
JQuery’s date picker UI component is very easy to localize on Javascript level. On this blog post I’ll describe how to ensure that date picker culture follows site’s server side … more
Disable submit buttons on form submit with jQuery.validate and ASP.NET MVC 2
I had a very common requirement to fill: when user clicks form submit button (or enter on keyboard) the button needs to be disabled in order to prevent double submits. Double submits could of course … more
Applying zebra striping with jQuery tablesorter and tablesorterPager plugin
A small but annoying bug I found today (and seems that someone else is having the same problem): when using jQuery.tablesorter plugin together with tablesorterPager, applying the pager clears some … more