search for: prototypej

Displaying 20 results from an estimated 79 matches for "prototypej".

Did you mean: prototype
2007 Dec 26
1
Typos on prototypejs.org
Guys maintaining prototypejs.org, have a look: http://dev.rubyonrails.org/ticket/10618 far from top priority tickets but we''re already overburdened by open tickets that need attention. MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Gr...
2008 Mar 11
0
Struts with PrototypeJS
Hi, can you please help me in knowing how do I get PrototypeJS working with Struts Action class. Please let me know any article or site that can help me clrearing my doubts. Thanks Rohit Anand --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" gr...
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 "Ruby on Rails: Spinoffs" group. To post to this group, se...
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 element regardless of the element''s type. For example, I have a collection of extensions for operating on just SELECT elements. However, I don'...
2008 Apr 18
5
show sum of textboxes
Hi all, I have multiple textboxes containing numbers. I want to add up all the numbers and show the sum. Can I select the textboxes by class and sum the content? This also has to happen realtime: when a number is changed ina textbox the sum should also change. can this be done? regards, Stijn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
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...
2007 Feb 23
4
Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hello Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions? --~--~---------~--~----~------------~-------~--~----~ 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, send email
2007 Jul 10
6
Having trouble using data returned by Ajax.request
Hello everyone, I''m new here. I''ve been working with prototype and plotr for about a month now, off and on, and I have pretty much hit the wall on using the data returned by Ajax.Request. I''m using some php code to return a string: {''foo'': [[0,0.0865334429075127], [1,0.0828179861705063], [2,0.0828173042602942], [3,0.0841707718624196]]} But I keep
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 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,
2008 May 19
3
Can anyone give a exmple of use Ajax.Response?
hi, everyone , could anyone give a exmple of use Ajax.Response? I can not find a sample in prototype homepage --~--~---------~--~----~------------~-------~--~----~ 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
2007 Aug 02
7
Difficulty using match
A have an observer watch for a click on a link. Inside the triggered function, I want to extract a piece of information from the URL. Currently I am able to do: alert(Event.element(el)); This displays the url string of the link, which is exactly what I need to work with. However, when I try: Event.element(el).match(//); I get a javascript error "selector.match is not a function". I
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...
2007 Oct 25
4
""throw $continue" is deprecated, use "return" instead"
I am using the firebug plugin to debug my javascript code, and I get the following message while debugging. Anyone familiar with this error? See my code below: <title>My Test </title> <script src="json.js" type="text/javascript"></script> <script src="prototype.js" type="text/javascript"></script>
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...
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! --~--~---------~--~----~----...
2008 Feb 10
3
Ajax.Request evalJSON document.write hangs
I''m not the best when it comes to javascript so this is probably a simple mistake. I''m using the following code to read an external json file and print out its values. The problem is when I try to write the value to the browser it causes the browser to load like it hasn''t finished the javascript code. Its writing the value to the screen so I think its hanging after that
2007 Nov 20
3
Ajax.Updater -- Cancel DOM write?
Is it possible to cancel the DOM write to the element passed to Ajax.Updater? I didn''t see anything in the documentation, and I''d like to use this instead of Ajax.Request. There are situations where the results that are returned will not be what is expected, and I have no control over this. For this reason, I''d like to be able to cancel writing to the DOM. Thanks in
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="p...
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'',