In the plug-in lib plugin.settings.currentPage is shown as undefiined element if i try to access it in some part of the code/lib why is this.?
Ex:
htmlNav += '<a href="#'+plugin.settings.hashPage+':'+i+'" title="Page '+i+'" rel="'+i+'" class="page">'+i+'</a><span title="">...'+plugin.settings.currentPage+'...</span><a href="#'+plugin.settings.hashPage+':'+plugin.settings.pages+'" title="Page '+plugin.settings.pages+'" rel="'+plugin.settings.pages+'" class="page">'+plugin.settings.pages+'</a>'
In the plug-in lib plugin.settings.currentPage is shown as undefiined element if i try to access it in some part of the code/lib why is this.? Ex:
htmlNav += '<a href="#'+plugin.settings.hashPage+':'+i+'" title="Page '+i+'" rel="'+i+'" class="page">'+i+'</a><span title="">...'+plugin.settings.currentPage+'...</span><a href="#'+plugin.settings.hashPage+':'+plugin.settings.pages+'" title="Page '+plugin.settings.pages+'" rel="'+plugin.settings.pages+'" class="page">'+plugin.settings.pages+'</a>'