jQuery fans blog and community sharing news, plugins, video tutorials, demos and more.

jQuery Speed Test: $(this) vs .get() vs .eq()

Each loop cache performance – test to see if grabbing the current element from inside the each is possible/faster from a cached array of elements. Namely $(this) vs .get() vs .eq() with .text() and textContent/innerText. Tests run with jQuery 1.9.1. Similar to: jQuery Speed Test:…

Continue reading →

jQuery refresh page on browser resize

Basic code snippet to refresh the page on a browser resize using JavaScript. //refresh page on browser resize $(window).bind(’resize’, function(e) {   console.log(’window resized..’);   this.location.reload(false); /* false to get page from cache */   /* true to fetch page from server */ }); If…

Continue reading →

8 jQuery Form Label (HTML5 Placeholder) Plugins

Today’s post brings us more or the ever popular jQuery and HTML5 plugins focused on HTML placeholders for form input fields. If you didn’t know HTML5 placeholder is a new attribute to INPUT elements provided to us by HTML5 markup. The placeholder attribute shows text…

Continue reading →

Where does the error word “Bug” come from?

I was wondering why we call our programming glitches and errors “a bug”. So I did some quick research… 1. Thomas Edison Thomas Edison wrote the following words in a letter to an associate in 1878: It has been just so in all of my…

Continue reading →

Use GPU to pevent flickr and trails (repaints) CSS3 transitions

So today I was taking a closer look at using the GPU to pevent flickr and trails (repaints) CSS3 transitions. The screenshot shows CSS3 scale repaint leaving trails on chrome. Then later in the post take a quick look at some of the CSS3 control…

Continue reading →

Page 9 of 232 ←; First ... 7 8 9 10 11 ... Last →

Best CDN
scroll to top