Method 1. Directly in the ready to call other methods, would suggest a lack of object errors, application of jQuery extensions can solve this problem.
$ (Document). Ready (function () (
$. Extend ((
show: function () (
setInterval ("$. show ()", 3000);
Method 2. The designated time when the implementation of the functions do not use quotation marks and brackets.
function show () (
setInterval (show, 3000); / / Note that the function name without the quotation marks and brackets!