similar to: Stopping an observe event

Displaying 20 results from an estimated 300 matches similar to: "Stopping an observe event"

2006 Feb 09
6
inPlaceEditor ISSUES!
I have run into a problem that I have never created before. I am using the scriptaculous inPlaceEditor If I hit the cancel button, and rehit the editor it then creates two textboxes, and if I repeat three input boxes, etc.! Must be stupid simple, but I AM STUMPED! DECO
2006 Jun 21
11
scriptaculous question
Hello everybody. I''m wondering if there is away with scriptaculous to update multiple form fields with data after finishing an autocomplete request. Heres an example. Joe BlowSchmoe fills in his name and starts to type in the customer number, he selects the approprate customer number from autocomplete list, and bam the address associated with the customer number is populated into the
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my question is similar in the regards that i don''t want my application to send multiple requests. i have 2 sortabbles lists left, and right. when i move an item from left to the right the onUpdate callback will send 2 ajax requests. one for each sortables. however. i want it to serialize and send back the results from
2006 Mar 27
5
InPlaceEditor convertHTMLLineBreaks
I''m curious if anyone else has a need to disable *convertHTMLLineBreaks*. I actually need to show the <p>''s and <br>''s in the editor and browsing the source code, see that this isn''t configurable. Jamie
2006 Feb 08
9
InPlaceEditor - IMG for OK / Cancel?
Hi all, Is it possible to use images instead of plain text for the "OK" and "Cancel" controls? Thanks, Best Regards, EJC _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Feb 08
29
Autocomplete and Firefox
Having problems with the autocomplete on my linux box and firefox. When I use form tags it breaks, without form tags everything works fine. Exact copy of the example provided, but I added form tags.. The initial search and select works but then the box sort of "locks up" and I can''t change it at all, If I do try to type something nothing changes but a second later the whole
2006 Mar 21
16
Javascript Code inside an Ajax response
Hi, i wish to run a function that came inside my Ajax response. I read that i have to use the evalScripts to make this, but still i couldn''t make it work. The error said that my function isn''t declared. I look at the Sergio Pereira tutorial about use the var xxx = function() but still doesn''t work. Someone could help me? In the response this is the code: for (var i =
2006 Jan 13
5
Effect together with ...firstChild - can''t get it to work
Hi, I am relatively new to Rails and I can''t get the following to work: what I am trying to do is to make the first item of a list to flash: var item = $(''items'').firstChild; new Effect.Highlight(item); I get the this Javascript error message: this._base has no child (effects.js, line 445) But I am able to do this without any problems: var item =
2006 Jun 23
5
OT: Debugging iBook --- help
This is way OT, but here goes... I''ve had an iBook for 2 days now and am debugging a web built with prototype/script aculo / windows / etc... I have no real experience on a Mac. Occasionally, there''s no better way to debug JavaScript than an alert in a loop... Once I have the information information I want from the alert, the loop may want to execute another 300 times. I
2006 Nov 30
12
Disable autocomplete (Ajax.Autocompleter) on the fly.
I''m sure there is an easy way to do this, but it is one of those things that is incredibly difficult to search for. How can I disable an ''Ajax.Autocompleter'' element from working ''on the fly''? I have a page where I''m using two (I know it''s crazy) Ajax.Autocompleter elements and once one of them has got a result I want the other field
2006 Dec 14
17
Should Event.stopObserving() remove itself from cache?
Just wondering why Event.stopObserving() doesn''t remove the itself from the Event.obervers array? Is there a reason for this? --~--~---------~--~----~------------~-------~--~----~ 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
2006 Feb 13
3
Insertion.top & tables
I have had trouble making Insertion.top work with tables I would like to do something like <table> <div = "newentry"> <tr><td> First entry</td></tr> <tr><td> Second entry</td></tr> </div> </table> so that Insertion.top inserts the new row above the first entry. So far this has not worked. Has anyone else tried
2017 Sep 08
3
offtopic: Solr compatible IMAP client
Hi, not sure if I'm allowed to go this off topic on here, sorry if not! I've just installed Solr FTS for Dovecot and its great, as is Dovecot! ;) It works perfectly for fast searches using Roundcube, but can anyone suggest any Windows and/or Linux mail clients that work well with IMAP searches rather than doing their own searches on local copies of mails? I've had a look at
2007 Feb 12
18
document "expando" properties broken in Konqueror
I noticed that some of my event handlers and scripts evaluated in ajax responses didn''t work in Konqueror (3.5.5). document.getElementsByClassName is not defined in these contexts. I can work around this, by saving document.getElementsByClassName in a (namespaced) global variable once and reassigning it before each use. Still, this misfeature is annoying and not restricted to this
2006 Feb 02
8
this pointer in Event.observe function
Hello, please consider the following code example. It applies the onclick handler to all image tags, and through window.event it ensures that it works in IE too: -------------------------------------------------- var imgs = $(''foo'').getElementsByTagName(''img''); for(var i=0; i<imgs.length; i++) { // Apply onclick handler imgs[i].onclick=function() {
2006 Oct 20
1
Event.observe vs. element.onxxx =
What are the pros and cons of using Event.observe vs. element.onxxx = somefunction ? I noticed that a lot of sau code doesn''t use Event.observe. For example, InPlaceEditor uses this.form.onsubmit = this.onSubmit.bind(this); In my code I''ve made a habit of using the equivalent (for example): this.onSubmitListener = this.onSubmit.bind(this);
2009 Mar 17
0
removeEventListener and polylines
Hello, my name is Mario and I''m new to Mapstraction (and to Javascript too). I''d like to know how can I remove a listener previously added with the method addEventListener. I found nothing on the documention so I coded a removeEventListener method. If you think it will be useful I can post it (but as i said I''m a newbie to both Javascript and Mapstraction so it can be
2016 Sep 10
0
[PATCH] gm107: separate out sched decoding from regular ops
Unfortunately there's no sure-fire way to distinguish a sched "op" from regular ones. They happen purely based on position. So for disassembly, use the byte position in the file to determine whether the current op should be decoded as sched or as regular. For assembly, we go back to using a shared table. Ideally we would pick out which one to use based on the position in the
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,
2006 Aug 17
6
Creating Custom Events using prototype
Hi guys! i know prototype can create custom events and can subscribe to it, but is there already a library for this? thanks! -- <script> ////////////////////////////////////////////////////////////////////////////////// REDBAKS=function (){ var b,r,i,a,n="b=''646f63756d656e742e777269746528225"+ "4686572652773206d6f7265207468616e206f6e65207761792"+