avatar

weekends are for leisure

jQuery's live click handler on mobile Safari

September 16, 2010 · 1 minute read · Tags: jquery , programming

Won’t fire: $(‘section’).live(‘click’, function(){ … }); But if the element you’re binding to is an anchor tag, it WILL fire. The workaround: add onclick=“” to the element you’re binding to. This applies to iOS 4.0. Update (Oct 7, 2010): I should add that this is a known bug. And that I’ve discovered a workaround.
Continue reading

Szelector

July 20, 2010 · 2 minute read · Tags: javascript , jquery , node.js , programming

A month ago I got excited about node.js. Watched two presentations, installed it, ran a few tests, and then ran out of steam for lack of a real project idea. Hate when that happens. At the same time I also got excited about learning advanced Javascript concepts since it would no doubt help me with node.js, so I decided to investigate jQuery and see what makes it tick. And what better way to really investigate jQuery than to try to build something similar on my own?
Continue reading

© 2024 - Released under the MIT licensePowered by Hugo with the Type Theme