in reply to Re: How to glue JavaScript and DOM
in thread How to glue JavaScript and DOM
So ideally i must get an array, but I m not..2. handle of the callin object: eg: javascript has lines like writefunction_get("getElementsByTagName", sub { #use HTML::TagParser, my @array = $p->getElementsByTagName('@_); #$p must point to # the html file containin the page from which meta tags are # to be taken return @array; });
So to write a perl function similar to the one that i wrote for getElementsByTagName as shown above, i need to get a handle for this metas array object in perl.. How do i get this is my question..I guess I have it more clear now.. Please tell me if it's still hazymetas[i].getAttribute('name'); //metas is the array obtained from the +above snippet<code>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to glue JavaScript and DOM
by Joost (Canon) on Feb 26, 2008 at 14:22 UTC | |
by monkster (Sexton) on Feb 26, 2008 at 15:11 UTC | |
by monkster (Sexton) on Feb 29, 2008 at 06:30 UTC | |
by Joost (Canon) on Feb 29, 2008 at 10:22 UTC |