similar to: Prototype TimedObserver Error

Displaying 20 results from an estimated 6000 matches similar to: "Prototype TimedObserver Error"

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
2005 Jun 28
2
Problems with repeated calls to setTimeout?
Prototype.js and Thomas''s effects scripts use repeated setTimeout calls for timed looping, for instance in time-based observers. On Konqueror 3.4.1 (possibly other khtml-based browsers, too), these observers reproducibly crash the browser. Just keeping open a browser with such an observer is enough. After some time it invariably segfaults. When I substitute setInterval for setTimeout
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>
2005 Aug 22
8
Observing changes to a text field
I''ve noticed that using several TimedObservers (prototype.js) on a page to watch for changes to text fields (haven''t tried forms) can have a non-negligible effect on the CPU cycles used by the browser process. Nothing dramatic, to be sure, but unnecessary. Autocompleter.Base (controls.js) follows a smarter strategy to watch for changes. Currently this functionality is tied
2006 Jun 14
5
Sortable Tree - Stoping Event dispatch ?
Hi, I''m trying to play with sortable tree and have two issues: I have an AJAX Tree looking like: <ul class=''TreeCat'' id=''work''> <li class=''open''> <img src=''s.gif'' class=''node'' onclick="Ajax.Tree.toggle(event,this);"/> <a
2007 Aug 23
3
Character # do not allowed in new prototype's version
Hi. I used prototype: version 1.5.0_rc1 To be able to use the last prototype window''s version, i had to change to prototype: version 1.5.1_rc3 I use Ajax.Request, and in some params i have this character: # With v1.5.0_rc1 i have no problems. i receive the params in php same that i sended in javascript, but in this new version, when find this character, it cuts the string and i
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/)
2008 May 07
10
a little problem with prototype and IE7
''m from cartagena Colombia(south america) .... i''m learning prototype, i have a little problem using Ajax.Updater. i have this code in html page : <head> <script src="prototype.js" language="javascript" type="text/ javascript"> </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
2008 Mar 21
4
Prototype.js event.stop(event) FF2 not working
stop: function(event) { if (event.preventDefault) { event.stopPropagation(); event.preventDefault(); } else { event.returnValue = false; event.cancelBubble = true; } } /* br original stop: function(event) { Event.extend(event); event.preventDefault(); event.stopPropagation(); event.stopped = true; } */ };
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 Sep 18
4
Prototype.js and Multidimensional Arrays
Hi there, this code works only fine , if i dont embedding the prototype.js in my document: <script type="text/javascript"> var myCheckBox2 = new Array(); myCheckBox2[''Ort''] = new Array("hamburg","berlin","hannover"); myCheckBox2[''Art''] = new Array("programmierung","support");
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. Thanks
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! --~--~---------~--~----~------------~-------~--~----~ You
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'',
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 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
2008 Apr 21
4
Does String.evalScripts() work on well-formed script tags?
Does String.evalScripts() work when the opening SCRIPT tag of a SCRIPT block contains common attributes? I''ve tried and it does not appear to be working. Here''s an example: <script type="text/javascript" charset="ISO-8859-1" language="JavaScript"> //<![CDATA[ <!-- alert(''look! it works!''); //--> //]]>
2007 Mar 13
3
Prototype question invalid error in IE6
Hi, I''m new to using Prototype and script.aculo.us. I''m trying to use prototype to adjust an elements top margin based on the height of the screen. I''m also using script.aculo.us to make the element move negatively off the left of the window to create a scrolling effect. It works fine in Firefox, but I keep getting an Invalid argument error in IE6. Here my margin code