Displaying 20 results from an estimated 5000 matches similar to: "Prototype API Docs inconsistency"
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
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
2008 Feb 15
2
Where to report typos/bugs in the Prototype API online docs?
I was wondering where to report typos/bugs for the Prototype online
API docs (http://prototypejs.org/api)? Seems a bit overkill to submit
typos to the Rail Trac - but perhaps that''s the correct place?
Additionally, the website indicates that this documentation is written
in Markdown. Is the documentation from which the online API is
generated in SVN? I saw a documentation branch
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 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
2008 Jun 09
3
Prototype + Chess !?
Not sure how many of you saw this article =>
http://www.prototypejs.org/2008/5/28/an-interview-with-piotr-dachtera
but Chess.com is looking for 1 more JavaScript guru to help build out
Chess.com Live Chess! We need help optimizing the javascript libraries
we are using, etc. Please email chessdev=>gmail if you are interested.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You
2006 Nov 24
1
prototype crashes IE6
IE 6 SP1 crashes on pages with prototype.js
AppName: iexplore.exe AppVer: 6.0.2900.2180 ModName: kernel32.dll
ModVer: 5.1.2600.2945 Offset: 00012a5b
It''s suggested that TextWare''s QuickFind BHO is causing the crash and
that uninstalling it does the trick! I wan''t to find exactly what part
of prototype is causing this...
My findings will end up here and on
2007 Aug 15
4
Prototype TimedObserver Error
Hi!
I have tried the demo code from http://www.prototypejs.org/api/timedObserver
and get a "Null value" error in Safari and a "element has no
properties" (line 2753) error in Firefox.
I use prototype version 1.5.1.1
My html code looks like that ...
<html>
<head>
<title>Test</title>
<script src="prototype.js"
2008 Jul 11
1
prototype.js breaks treemenus from pear HTML_TreeMenu in safari
hi all
i see a very strange behavior in safari when using prototype.js and
the pear HTML_TreeMenu
to reproduce get prototype.js (http://www.prototypejs.org/assets/
2008/1/25/prototype-1.6.0.2.js) and treemenu.js (http://cvs.php.net/
viewvc.cgi/pear/HTML_TreeMenu/TreeMenu.js?revision=1.22).
and test the following html with safari on mac or windows (http://
www.apple.com/safari/download/)
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 Aug 31
5
prototype
Hi,
is there some way to remove all event listeners for the specific
element?
Thanks for help.
--~--~---------~--~----~------------~-------~--~----~
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 group,
2007 Apr 24
0
Prototype 1.5.1 release candidate 3 is out.
Read the full announcement: http://prototypejs.org/2007/4/24/release-candidate-3
Get it now: http://prototypejs.org/assets/2007/4/24/prototype.js
--~--~---------~--~----~------------~-------~--~----~
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
2008 Feb 07
3
Adding my own extensions with Elements.addMethods()
When I add my own extensions to DOM elements, is there a way to only
add my extensions to the specific types of DOM elements (e.g. SELECT)
to which my extensions apply or are intended to operate?
Based on the Prototype API documentation (http://prototypejs.org/learn/
extensions), it appears that anytime I extend an element, all the
extensions (Prototype''s and my own) are copied to that
2007 Aug 03
1
Prototype AJAX functions.
Hi all!
I have a form that when user fills he will press submit button which
have effect "onClick:previewMessage()". previewMessage() function is
an Ajax.update function.
I would like to know how can I get form data into other file which I''m
accessing with AJAX?
I hope I made myself clear.
--~--~---------~--~----~------------~-------~--~----~
You received this message
2008 Jan 04
7
1.6 cheatsheet
Hey has anyone seen a 1.6 cheatsheet around?
Johnathan Snook did a nice 1.5 one but I''ve been working with 1.6 for a
while and while I can use prototypejs.org, cheatsheets are handy for jogging
memories..
I checked his blog, nothing there for 1.6.
Gareth
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
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
2007 Mar 01
3
co.mments interesting
How is http://www.prototypejs.org/ being used in this program below
http://co.mments.com/
Go here enter the following URL
http://torrentfreak.com/interview-with-bram-cohen-the-inventor-of-bittorrent/
Now click track
See how the page is stripped and displayed. I think this has to do
with the use of Prototype
Please let me know thanks...
--~--~---------~--~----~------------~-------~--~----~
2007 Jan 19
7
Prototype.js: Is there an "in_array"-like function?
Hi
i was wondering if there is a quick way to search for a item within an
array. Here is my approach for this functionality. It''s an prototype
for an Array method called "has":
Array.prototype.has = function(needle) {
for (var i=0;i<this.length;i++) {
if(this[i] == needle){ return true; }
}
return false;
}
var someArray = [''jim'',
2008 Feb 16
5
ie-specific error in prototype try-catch block?
Hi,
I was wondering if anyone has any suggestions for debugging ie-
specific errors? I have been working on a porting a prototype
application that works fine in firefox to ie, and have run into
several problems. For the latest one, the error message is not very
informative. When trying to load the application, ie complains "Object
doesn''t support this property or method."
When
2007 Oct 29
0
Google Gadget built with prototype
Greetings Everyone,
I have created a new Google Gadget, this gadget
combines three awesome services by Google, Gadget, Ajax Web Search
and Custom Search Engine. All glued together with very well designed
javascript classes built with prototypejs. The gadget is flexible in
its settings to allow any CSE or site restriction but with a few
customizations could be repurposed