Displaying 20 results from an estimated 2000 matches similar to: "getElementsBySelector broken in IE"
2007 Apr 23
3
getElementsBySelector problem in IE
I''m having this problem with IE and getElementsBySelector, but am a
relative js novice, so quite possible -- likely even -- that I''m doing
something stupid. Either way, a fresh pair of eyes would help.
Basically I''m duplicating a fieldset within a form (so you can upload
more than one photo). [BTW, the fieldsets have a CSS id which relates
to the object id of the
2007 Jun 28
2
img element inside div not accessible with $$() or getElementsBySelector
I can''t access an img inside a div using the $$() syntax. Using
getElementsBySelector doesn''t work either. Both return empty arrays. I
can access it with getElementById, however.
<div id="foo">
<img id="image" src="blah.jpg">
<div id="bar"
</div>
- Using $$(''#foo img'') returns an empty array
- Using
2007 Apr 10
1
bug: Element.getElementsBySelector on internet explorer
Hi,
in ie7 I can''t use Element.getElementsBySelector to select elements in
a xml document
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2007 Jun 09
1
Element extending problem
Okay, I posted about this a few days ago but couldn''t replicate it in my
test case.
I have this page, which everything works fine on... except some of the
prototype methods.
They do not appear to exist on an extended Element.
ie:
Element._extended = true
Element.up = undefined
Element.addClassName = function
Element.getElementsBySelector = undefined
I''ve been trying to figure
2008 Jan 05
4
PeriodicalUpdater onComplete broken?
Using the PeriodicalUpdater, I''m finding the onComplete is not firing.
I thought I''d get some feedback here before filing a bug report.
http://ianty.com/updater/update_test_1.6.0.1.html
http://ianty.com/updater/update_test_1.6.0.html
The above are examples of this for prototype 1.6.0 & 1.6.0.1.
I''m expecting the onComplete to fire after the update takes place, per
2007 Feb 02
2
Quick Element.getElementsBySelector() question
Hi,
Does this code should works ?
elm.getElementsBySelector(''UL.class1 > LI.class2'');
I have an error caused by "UL.class1 > LI.class2"
- Does CSS Selector ">" works ?
- What is the exact ? may be "UL.class1>LI.class2"
Regards,
--
Jean-Philippe Encausse - R&D Jalios SA
Jp [at] encausse.net - http://www.encausse.com -
2007 Nov 09
1
Prototype API Docs inconsistency
Hi,
If you follow those two links (watch the case difference) :
- http://www.prototypejs.org/api/element/getElementsBySelector
- http://www.prototypejs.org/api/element/getelementsbyselector
You''ll see that the first one does not indicate the 1.6 deprecation
even though it is the same method.
I guess those docs where generated, so the problem might exists
elsewhere in the docs.
Thanks
2007 Sep 27
4
transportXML returns null?
Hi,
I want to load an XHTML file into DOM. I issue Ajax.Request and on
success do:
var response=transport.responseXML
Response is null. On the other hand:
var response=transport.responseText; // has the data.
Why is response=transport.responseXML returns null?
Here is the code:
function display() {
url = "http://" + location.hostname + port + "/fusion/
2007 Aug 20
3
Contribution on extending createElement
Hi all,
I work a lot with scripts that modify the DOM, and I have always found
quite annoying that the code would always get very verbose as soon as
I wanted to create even simple structures :
var my_div = document.createElement(''div'');
var my_anchor = document.createElement(''a'');
my_anchor.setAttribute(''href'',my_link);
var my_text =
2007 Mar 08
7
ZKoss
Hi All,
Has anyone here used zkoss.org?
What do you think of it in comparison to scriptaculous?
--
Leonard Burton, N9URK
http://www.jiffyslides.com
service-CbOvBfcOUrWrJCssh9Shfg@public.gmane.org
leonardburton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
"The prolonged evacuation would have dramatically affected the
survivability of the occupants."
2008 Jan 18
5
wz_tooltip and updating the DOM
Hi all,
I am using Prototype in conjunction with wz_tooltip and am having a
problem with the tool tips not being updated in time.
When a user mouses over a link, I am making an Ajax call to a CFM page
that sends back an HTML table and updates the contents of a div with
the returned content. I then call wz_tooltip and reference that div to
use as the tool tip. However, what is displayed in the
2007 Nov 16
3
IE: error with Serializers[method] in getValue()
Hi,
Version: prototype 1.6.0
I''m using the $F function to get the value of a field. It works fine
in FireFox, but IE 6 and 7 are reporting "object does not support his
property or method" (translated from german).
In IE debugger it hightlights the line 3485:
---
return Form.Element.Serializers[method](element);
---
I searched the web, but this problem seems to be quite unique
2006 Jul 10
11
prototype hash method
var v1 = {
a: ''value for a'',
b:''value for b''
}
var v2 = {
c: ''value for c'',
d: function(){some code...}
};
var v3 = v2.merge(v1);
I''m getting an error doing this...
what is wrong?
2007 Jun 09
23
hoverclass on droppable zone
Hi guys,
I''m trying to make a drag''n''drop portal using sortable element. I
would like to apply the "hoverclass" option only on the droppable zone
instead of the column border.
Any idea a about the solution?
Thanks for any help,
Sabri
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2007 Apr 17
5
Problem with toQueryParams()
I''m sure this has been covered before, but here goes...
Anybody noticing some odd behavior with submitting forms through
Ajax.Request? I thought at first it was a problem with Form.serialize,
but was able to trace it back to line #975 (in prototype 1.5.1_rc2)
which calls "toQueryParams" on the parameters that are passed into the
new Ajax object if it is a string. This is the
2008 Jan 16
2
Firebug alert issue workaround required
HI there,
here is a basic piece of HTML/JavaScript that duplicates something
similar in an application we''re working on:
<html>
<head>
<script src="prototype.js" type="text/javascript" ></script>
</head>
<body>
<div id="ST_1">ST_1</div>
</body>
<script>
var widgetId = "ST_1";
2007 Sep 20
10
Element.addMethods functions swallowing exceptions (IE6 + 7)
IE6 and IE7 are not correctly handling the ''throw'' command for
functions attached to Element via Element.addMethods. Firefox and
Safari are fine.
See the example below.
For IE6: functions called with no attributes (ie: funcName())
correctly handle thrown errors. Funcions called with attributes (ie:
funcName("foo")) will respond to the throw command and pass execution
2007 Jan 24
6
dojo and prototype compatibility?
are there any compatible issues that exist when trying to use both
prototype and dojo at the same time?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2007 Mar 23
7
Lightbox-eske Dialogish Object
So, one of the things I''ve always wanted to do was expand upon the
simplicity of the Lightbox Gone Wild! object that the coders at
www.particletree.com put together months ago. I used it on an
application I wrote to organize my own picture albums on my localhost
web server, but I had to hack it apart to get it to do the things I
wanted it to do. I looked at the Prototype Window
2008 Jan 04
6
Ajax.Request: onFailure vs. onException
Hello All,
I''m trying to capture the exception message that my server application
is providing in response to my Ajax.Request. However, I''m confused as
to when onFailure is fired vs. onException. The onException handler has
access to the javascript exception object and I''d understood that it was
only called when the dispatch fails. Not sure what exactly that means