<<< Date Index >>>     <<< Thread Index >>>

Re: js TypeError: document.body has no properties!



sorry, send error
On Sat, Oct 13, 2007 at 03:30:47PM +0800, liupeng wrote:
> vimperator version: 0.5.2
> i want to use document.body in .vimperatorrc, load .vimperatorrc no error
> ------------------
> xxx = function() {
>         ...
>         ...document.body...
>         ...
> }
> ------------------
> 
> :js xxx()
> display the error msg:
> "TypeError: document.body has no properties"
> 
> :js alert(document) 
>     return "[object XULDocument]"
> :js alert(document.body)
>     return "undefine"

Attachment: signature.asc
Description: Digital signature