Displaying 14 results from an estimated 14 matches for "getelementsbyselector".
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 rela...
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
-...
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.g...
2007 Jan 22
11
getElementsBySelector broken in IE
Hi all:
getElementsBySelector appears to be broken in 1.5 final on IE.
getElementsBySelector works as expected in FF 1.5 final and also it
works correctly in IE in 1.5 RC2.
Here''s my simple code fragment:
var els = element.getElementsBySelector(''[recnum]'');
The variable els is undefined in 1.5 fin...
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 -...
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 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 for your great framework.
Oli...
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
2007 Jun 09
1
Element extending problem
...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 this one out... I put an alert at the start of
Element.extend and loaded my page...
I only get one alert, and if I comment my $(''EditGrid'') line, it still comes
up.
It bails from the function at the first if statement.
It''...
2007 Jul 31
6
Using Effect.Move() while maintaining the elements DOM order
Hi there,
is it possible to maintain the elements order in DOM when using
Effect.Move()? Currently the Move effect will
change the element position (using top and left style attrs), this
works quite well too, but what I''d like is
to change the elements position as well.
Consider the following example:
html:
...
<div id="a">First</div>
<div
2005 Dec 04
2
Adding sortables dynamically
Hi all,
is there a way to define the containment option for a sortable so
that it is a class name instead of an id list?
I have a case very similar to the sortable lists demo, the only
difference is that I'm adding new list containers dinamically, so
either I need to redo the Sortable.create calls for all new elements
to include the newly added container, or having someway to have them
2007 Aug 02
3
Problems with Element.extend() on responseXML elements with IE
I have the following code in the "onSuccess" function of an
Ajax.Request() call. The content type of the response message is "text/
xml".
function interactionSuccess(request) {
var root = $(request.responseXML.documentElement);
...
So more or less I extend the root element of my XML response.
This call triggers the onException callback. The exception is a
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...if (position == 'top' || position == 'after') childNodes.reverse();
+ childNodes.each(insert.curry(element));
content.evalScripts.bind(content).defer();
}
@@ -1670,7 +1700,7 @@ Element.Methods = {
},
descendants: function(element) {
- return $(element).getElementsBySelector("*");
+ return $(element).select("*");
},
firstDescendant: function(element) {
@@ -1709,32 +1739,31 @@ Element.Methods = {
element = $(element);
if (arguments.length == 1) return $(element.parentNode);
var ancestors = element.ancestors();
- return ex...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server