Blog is about JQuery javascript library. I collect javascript code snippets, howto's, tips and performance observations.
Updated: 1 hour 27 min ago
How to check loaded jQuery UI version?
In this post I will show how to check currently loaded jQuery UI version on the page. Unlike checking loaded jQuery version ( $().jquery ), checking jQuery UI version is a bit different. Checking currently loaded jQuery UI version on the page: // Returns jQuery UI version (ex: 1.8.2) or undefined
$.ui.version
// Alternatively
jQuery.ui.version
You would most probably use it in the if
Categories: Blogs
jQuery YouTube plugin demo
Long overdue demo for my jQuery YouTube plugin – jYouTube is now available here. The plugin can fetch and get you any YouTube video’s screenshot or thumbnail by its URL or video id. Here is an example: // Getting video screenshot by YouTube video ID
$.jYoutube('rSUfWXcNAOw');
// Returns video thumbnail by YouTube video URL
$.jYoutube('http://www.youtube.com/watch?v=rSUfWXcNAOw', 'small');
By
Categories: Blogs