Displaying 2 results from an estimated 2 matches for "findorstor".
Did you mean:
findorstore
2007 Aug 02
3
Problems with Element.extend() on responseXML elements with IE
...e or less I extend the root element of my XML response.
This call triggers the onException callback. The exception is a
"TypeError: Object doesn''t support this property or method" exception.
I tracked it down to the following line in Element.extend():
element[property] = cache.findOrStore(value);
The property in this case is "visible". This is with latest prototype
release (1.5.1.1) and IE 6. Probably IE does not want to extend XML
nodes with "visual" functionality.
This problem is so obvious, that I am almost sure, that the error is
on my side.
Any help is g...
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
Hi,
I need to extend the Element object with getTop, getWidth, getLeft .
I wrote something like this in an js file and loaded it after the
prototype.js .
----------------------------------------------------
Object.extend(Element, {
getWidth: function(element) {
element = $(element);
return element.offsetWidth;
},
getTop: function(element) {
element = $(element);
var curtop