D
david
I have a picture and it has onclick event, with invokes JavaScript
function called ModuleManager(); Then it saves a copy of Node (Blocks,
which is DIV) it tmp_blocks['Blocks'] with all children elements. And
it changes Blocks innerHTML with new one, which has form and after I
press button which has onclick too and calls another function which
Blocks innerHTML sets to tmp_blocks['Blocks'];
But after that(when I want to press image again) FireFox says:
Error: ModuleManager is not a function
Source File: http://localhost/admin/
Line: 1
But, Safari, Opera, IE 7 and all other works just fine with 0 errors.
Any ideas why FireFox acts like this?
And one more thing, if I invoke function myself by writing
"javascript: ModuleManager();" it works perfectly.
All functions are in JS file.
Thanks for help.
function called ModuleManager(); Then it saves a copy of Node (Blocks,
which is DIV) it tmp_blocks['Blocks'] with all children elements. And
it changes Blocks innerHTML with new one, which has form and after I
press button which has onclick too and calls another function which
Blocks innerHTML sets to tmp_blocks['Blocks'];
But after that(when I want to press image again) FireFox says:
Error: ModuleManager is not a function
Source File: http://localhost/admin/
Line: 1
But, Safari, Opera, IE 7 and all other works just fine with 0 errors.
Any ideas why FireFox acts like this?
And one more thing, if I invoke function myself by writing
"javascript: ModuleManager();" it works perfectly.
All functions are in JS file.
Thanks for help.