hi john, your right that is where it should be done. the problem arises
from the fact that we load the scripts for the test from the html itself, as
part of the browser emulation process. this means that we can only affect
the global scope before the html is loaded, onload, and after load.
Is that the real mark-up you're using? IDs are unique so you should't
have any other #list elements to choose.
On May 15, 5:06 pm, Fabio_Floripa fabio_da_cu...@hotmail.com wrote:
Hi quick help
how can i go back to one selecotr in the hierarchy
eg:
ul id=selector
ol id=list
According to FireBug, FireFox thinks objects and embeds are functions.
typeof(jQuery(object/).get(0)); // Returns function() in FF,
but object in Safari
The same is true if you select an Object Element that is already in
the DOM:
typeof(jQuery(object).get(0)); // Returns function() in FF,
BTW, here's how I worked around this problem in my own code:
Object.prototype.doStuff = function(){
// Hack to workaround jQuery bug
if ( this==window || this==document ) return;
...
}
I had hoped I could extend the prototypes for windows and
HTMLDocuments to have an intercepting doStuff
On Apr 21, 1:45 am, Mark Gibson jollyt...@gmail.com wrote:
It's generally considered very bad practice in the Javascript world to
extend Object.prototype:http://erik.eae.net/archives/2005/06/06/22.13.54/
Your best bet is to move your merge function elsewhere.
I think it is mostly generally