Hello
I have this code that should be executed when the page opens, but it doesn't
where is the mistake?
actually I tried to run it via the google chrome console and it worked, but not from Javascript panel in ACP Â Â
Thanks in advance
I have this code that should be executed when the page opens, but it doesn't
where is the mistake?
- Code:
$(window).load(function() {
if(_userdata["user_posts"] < 1 && _userdata["session_logged_in"] == '1'){
   $('#fa_toolbar').before('HTML CONTENT');
}
});
actually I tried to run it via the google chrome console and it worked, but not from Javascript panel in ACP Â Â
Thanks in advance
Last edited by Niko! on May 29th 2014, 5:48 pm; edited 1 time in total