Category: jQuery

Validate existence of youtube video using javascript and jquery

There’s no need to include a description. The title says it all.

[2015-01-22] Update: The snippet has been updated to work with the new youtube urls (which may contain dashes).

jQuery script timestamp

jQuery appends a timestamp to your script path when using getScript. To disable this behaviour just disable it in the jquery ajaxSetup like this:

$.ajaxSetup({
cache: false
});

©SpoonX 2017