Displaying 20 results from an estimated 110 matches similar to: "getElementsBySelector problem in IE"
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 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 final on IE.
--~--~---------~--~----~------------~-------~--~----~
You
2009 Apr 30
1
stepAICc
Dear R users,
Would it be difficult to change the code of stepAIC (from the MASS
library) to use AICc instead of AIC?
It would be great to know of someone has tried this already.
Best wishes
Christoph.
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 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
2005 Mar 18
2
logistic model cross validation resolved
This post is NOT a question, but an answer. For readers please disregard all earlier posts by myself about this question.
I'm posting for two reasons. First to say thanks, especially to Dimitris, for suggesting the use of errorest in the ipred library. Second, so that the solution to this problem is in the archives in case it gets asked again.
If one wants to run a k-fold cross-validation
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 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
2013 Feb 04
2
Modifying a function programmatically
Dear list
# I have a function
ff <- function(a,b=2,c=4){a+b+c}
# which I programmatically want to modify to a more specialized function in which a is replaced by 1
ff1 <- function(b=2,c=4){1+b+c}
# I do as follows:
vals <- list(a=1)
(expr1 <- as.expression(body(ff)))
expression({
a + b + c
})
(expr2 <- do.call("substitute", list(expr1[[1]], vals)))
{
1 +
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
2006 Nov 11
2
Setting Ajax.Updater update target to alternate window?
I need to make a call to Ajax.Updater(container, url, options) where
container needs to be a DOM element in another window.
So assuming my form is in window "X", can I specify a DOM element in
window "Y" as the update target for my AJAX call?
If I can, what is the correct syntax?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Jun 14
3
problem trying to update multiple <DIV> elements with AJAX
I''ve been trying for days now to figure this out on my own, but I can''t,
so this is my cry for help. Here''s my situation: I need to update
multiple <DIV> elements on a page, each with its own HTML, but I just
can''t figure out how to get it to work. That is, I want to replace
everything within each <DIV> element with something new. When I try what
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
2001 May 30
2
environments
I would like to be able, inside a function, to create a new function, and
use it as part of a formula as an argument to, say, gnls or nlme. for
example:
MyTop <- function(data=dta) {
Cexp <- function(dose,A,B,m){...}
Model <- as.formula(paste("y","~ Cexp(",paste(formals(Cexp),collapse
=", "),")"))
MyCall <-
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
2010 Sep 21
0
Upload form with uploadify jquery plugin
I would like to integrate the uploadify plugin with a standard rails
form. However I can''t figure out how to add a new field and have it get
submitted with the file upload. I added a name field into the form, but
the valued does not get submitted.
<%
dialog_file_description = ''Photos''
allowed_extensions = [:jpg, :jpeg, :gif, :png]
max_size = 20.megabyte
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
1. Create a separate class that has your highlight/unhighlight behavior
in it, and extend just the element you want to highlight with that
class... like this (also allows you to easily apply this behavior
elsewhere when you need it in the future):
Object.extend(this.el, HighlightBehaviorClass.prototype)
2. When defining your event handlers, assign them to variables so you
have a
2006 Mar 04
0
Question about event listener highlighting with child elements
I have created a JavaScript object which is initialized for some input
fields, fieldsets, and divs on the page. With each object i attach a
mouseover and mouseout event that highlights and un-highlights. Also on
mouseout i am trying to display the id of the object to a console. The
highlighting works except for cases when an object is the child of another
object. In this case both are highlighted