What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-03 20:36:02
documenting functions javascript
/** * Toggle visibility of a content tab * @param {String} selector Selector for the element * @param {Node} toggle The element that triggered the tab */ var toggleVisibility = function (selector, toggle) { if (!selector) return; var elem = do... Add solution -
Javascript 2021-09-03 07:17:02
create video playlist using jquery
function handler(e) { e.preventDefault(); videotarget = this.getAttribute("href"); filename = videotarget.substr(0, videotarget.lastIndexOf('.')) || videotarget; video = document.querySelector("#video_player video"); video.removeA... Add solution -
Javascript 2021-08-31 13:58:02
devicemotionevent
window.onload = function () { // Check if is IOS 13 when page loads. if ( window.DeviceMotionEvent && typeof window.DeviceMotionEvent.requestPermission === 'function' ){ // Everything here is just a lazy banner. You can do the banner y... Add solution