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 Thu 29 May 2014 - 17:48; edited 1 time in total