Subject: | Error: Can't locate object method "ownerDocument" via package "JE::Object::Proxy::Array" |
I tried to load jQuery 1.3.2, and I got the following the error:
Error: Can't locate object method "ownerDocument" via package
"JE::Object:
Error: Can't locate object method "ownerDocument" via package
"JE::Object::Proxy::Array" at my_www_scripter/lib/perl5/HTML/DOM/Node.pm
line 239.
TypeError: The object's 'ready' property (undefined) is not a function
at file:///home/mark/Desktop/jquery/jquery-1.3.2.min.js, line 12.
TypeError: The object's 'ready' property (undefined) is not a function
at file:///home/mark/Desktop/jquery/print_center.html, line 49.
###
The script involved was minimal:
my $w = WWW::Scripter->new;
$w->use_plugin('WWW::Scripter::Plugin::Ajax');
my $r = $w->get("file://$Bin/print_center.html");
The HTML file tag contained a <script> tag to load jQuery.
These kind of issues make me wonder how hard it would be to get the
SpiderMonkey plugin working...