The easiest way to use the jokes in your website, is by using the JavaScript API, a jQuery plugin. You can download the plugin at, the most recent versions are available at (minified production version) or (developer version with comments).

The plugin provides the following methods:

  • $.icndb.getRandomJoke()
  • $.icndb.getRandomJokes()
  • $.icndb.getNumberOfJokes()
  • $.icndb.getCategories()

For documentation, look into the developer version of the code.

Want to contribute? Fork me on:  


Leave a Reply

Your email address will not be published. Required fields are marked *

Set your Twitter account name in your settings to use the TwitterBar Section.