Comments Juanjo started the conversationMay 9, 2014 at 12:59amHi,I'm trying to call the javascript API, but I've a problem, in console: TypeError: revapi1 is undefined.I found this ticket: http://unitecms.ticksy.com/ticket/163849/search/but there are a lot of private comments.I think that the problem is when I try to call the object is not yet created.this is my code in template index.phpvar tpjb=jQuery;tpjb(document).ready(function() {alert('slide total: '+revapi1.revmaxslide());}); How can I solve it and use the API?thanks in advance 948Max repliedMay 9, 2014 at 11:49pmHi, please give me a link to your website when you trying to use the API so I could look. Sign in to reply ...
Hi,
I'm trying to call the javascript API, but I've a problem, in console: TypeError: revapi1 is undefined.
I found this ticket: http://unitecms.ticksy.com/ticket/163849/search/
but there are a lot of private comments.
I think that the problem is when I try to call the object is not yet created.
this is my code in template index.php
var tpjb=jQuery;
tpjb(document).ready(function() {
alert('slide total: '+revapi1.revmaxslide());
});
How can I solve it and use the API?
thanks in advance
Hi, please give me a link to your website when you trying to use the API so I could look.