Skip to content

Tag: javascript

Return promise skipping Ajax call

I have a function in a class like this that returns a promise for deleting an item: My question is, what do I return in order to ‘skip’ the ajax section which will validate to done so that I can do something like this (in another script): Answer Both of these seem work. Thanks to the comments.

Add additional “Next” button to a Slick Slider

does anyone know how to add an additional “Next slide” button to a Slick Slider? I am already using the dots, and the previous & next arrows, but on the first slide I need to add an additional “Next Slide Button” (for design purposes). Suggestions…help… Basically a butt…