I realize that js is really a client thing and not a server thing. Anyway, I am trying to call
Code:
$(register_extension(
var editorExtensionId = "mebiphcpglaighebopfapfoiimgnnbpf";
// Make a simple request:
chrome.runtime.sendMessage(editorExtensionId, "snapshot_mode",
function(response) {
if (!response.success)
handleError(url);
})
I try to load it with
PHP Code:
$this->load->js("/js/javascript_funcs_extensionloaded.js");
javascript_funcs_extensionloaded();
I am getting:
A PHP Error was encountered
Severity: Error
Message: Call to undefined function javascript_funcs_extensionloaded()
Filename: controllers/Configure.php
Line Number: 43
Can anyone tell me how to look at this?
proof that an old dog can learn new tricks