On Thursday, December 22, 2011 6:34:58 PM UTC+1, Jacob wrote:
>
> show: function(state)
> {
> this.myTimeout = this.context.setTimeout(function(context)
> {
> *content =
> context.window.document.getElementsByClassName("invest_level_down").item(0).textContent;
> *
> }, 5000);
> },
>
>
Try following:
show: function(state)
{
var self = this;
this.myTimeout = this.context.setTimeout(function()
{
var content =
self.context.window.document.getElementsByClassName("invest_level_down").item(0).textContent;
}, 5000);
},
Honza
--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug