Hi, I'm having problems fetching data from a server. I have a web page that makes a request for an image file. The particular image returned depends on the 'quadkey' input. See code below.
The problem is, each time I request a new image, Firefox prefers to display the old image.
E.g. when I...
here is the solution in case anyone's interested
var stg = "<div>The best-laid<br> schemes o' <br><span>mice</span> an' men</div>";
var newDiv = document.createElement("div");
newDiv.innerHTML = stg;
var recordNodes = document.evaluate(
".//span",
newDiv...
Hi,
How do I use the document.evaluate() method on a string of HTML to find something within the string?
E.g. if I have this string:
var stg = "<div>The best-laid schemes o' <span>mice</span> an' men</div>";
I'd like to convert this string into something that I can run the document.evaluate()...
Dan, tsuji, thanks for your ideas.
I eventually settled on replacing this...
this.subObj1.subMethod1 = this.method1;
with this...
var me = this;
this.subObj1.subMethod1 = function(){me.method1();};
Hi, I having problems using 'this' in an objects method. I have simplified the problem.
I instantiate object obj1 which inturn instantiates subObj1. subObj1 is a slave to obj1. obj1 registers a handler function called method1 with subObj1 so that subObj1 can tell obj1 when it has finished.
For...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.