Skip to content
johanv edited this page Sep 14, 2012 · 3 revisions

Some hints about Javascript and JQuery:

If you want to print something to the console, you can use console.debug('my message'), or, hotot specific, hotot.log('my label','my content').

You can output the contents of a JSON-object as follows:

hotot_log('some label', JSON.stringify(some_object));

Or the HTML in e.g. the main page using JQuery:

hotot_log('some label', $("#main_page").html())

Clone this wiki locally