Tag Archives: jQuery

Replace text by an image with jQuery

Replace text by an image with jQuery

Since tweets are backed up automatically in this blog and prefixed with ‘Tweet:’, I thought it would be better to replace the prefix by a Twitter icon. jQuery can do that nicely: jQuery(‘h2 a’).html(function(i,html) { return… Read more

jQuery error in Internet Explorer

One cause of error at least. Watch for stray commas at the end of an array. For example : var array = ; That comma after ‘four’ will be silent in most browsers. In Internet Explorer (lower than 8 at least), this will throw an… Read more