[Proto-Scripty] Event.observe

2014-07-14 Thread Иван Иванов
Hi Team, input id=login type='submit' value='login' / Event.observe(login, click, function(){ alert(t2); }); Why don't work? Thanks -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To unsubscribe from this

Re: [Proto-Scripty] Event.observe

2014-07-14 Thread Walter Lee Davis
Assuming that you put script tags around the JavaScript, and include prototype in your page head, it does. One thing you may be overlooking is source code order. If your script tag (containing this handler) occurs in the page head, then the input#login will not exist yet at the time that the

Re: [Proto-Scripty] Event.observe

2014-07-14 Thread Jason Westbrook
But it does work See this fiddle http://jsfiddle.net/4MUZ4/ also make sure you are running the observe method after the DOM has finished loading and is ready to be manipulated Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Sun, Jul 13, 2014 at 11:33 PM, Иван Иванов

[Proto-Scripty] Event.observe problem with IE8

2012-10-01 Thread Michael Huber
I've a problem with Event.observe on the following site: http://www.seminardmc.at/de/menu10/seminare21/?termin=65 Sorry, the website is in German only. The problem occurs when I'm clicking the button Jetzt anmelden / vormerken on the left side of the page. In

[Proto-Scripty] Event.observe and Ajax.Updater recursion problems?

2009-06-18 Thread ph...@ryangibbons.net
Hey all, I will preface this with the fact that I am a new user of both prototype and javascript, so I am learning (slowly) as I go. I am currently working on a blog interface and I was going to use this as my opportunity to learn prototype and some more dynamic ways to handle form data. That

[Proto-Scripty] Event.observe(window, 'load' Ajax.Updater

2009-03-11 Thread James
so normally you can use Event.observe(window, 'load' to fire some js after loading, secure in the knowledge that all external js files have been loaded and all elements have been set up. Whats the equivalent for firing an event after an new Ajax.Updater('modal-ajaxdiv', url, { evalScripts:true

[Proto-Scripty] Event.observe: listen for form submit cancelled

2009-01-22 Thread disccomp
Is there a way to listen for the user cancellation of a form submission. IE they press ESC or click 'Stop' in the browser after having initiated submission? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] event.observe document

2008-12-14 Thread Stucture_Ulf
I'm using keyboard short cuts with Event.observe document. I do not want these to be activated when using certain input fields on the site. So my question is how I temporarily disable these document shortcuts when these input fields are in focus.grateful for tips.

[Proto-Scripty] Event.observe working in Firefox but not IE6-7

2008-10-29 Thread Dave
As the subject says I have the follow js: Event.observe('events', 'change', function (e) { new Ajax.Updater('event_details', 'URL', { method: 'post', parameters: 'event=' + e.element().id.gsub('event', '') }); });

[Proto-Scripty] Event.Observe and Dynamic Drop Downs

2008-09-20 Thread Newbee
Hello, I'm new to Prototype development, and love the power it gives. What I don't get is why the Drop Down change event fires only once, for a dynamically created Select Drop Down, in my example below (using 1.5 of Prototype). Any thoughts on this would be greatly appreciated by a ruby /