Displaying 20 results from an estimated 1000 matches similar to: "prototype EventObserver on radio option elements"
2006 Feb 07
1
Help needed with conflicting EventObserver
Hello everyone,
I have a page that populates/updates make, model and year select lists
via Ajax.Updater and I think that an EventObserver is causing a
conflict.
Here''s what I''m trying to do. I''m using this page as a create and
edit page for a car database. If I''m calling the page in edit mode,
I''ll want the make, model and year set (using the
2006 Apr 09
0
Form.EventObserver Incorrect?
After playing with Form.EventObserver for a while, I wonder if it
shouldn''t pass the element that triggered the event to the callback
instead
of the form object itself. Although we pass the form object to the
constructor, we are monitoring changes of individual elements. As it
stands,
there isn''t any way to determine which element fired the event
without comparing
2004 Aug 06
1
a Question
Hi people, i am testing icecast 2 and its really very very good, the quality
of the sound is very better than shoutcast.
but i have a question:
in shoutcast, i make a web forfward : http://play.myradio.com.br to
http://www.myradio.com.br:8000/listen.pls and wen the user click, the winamp
or real one automatically open an play my radio.
In shoutcast can i do it too? if yes, how i do?
tank u
1997 Sep 02
1
R-alpha: R interaction within ESS-4.9-b11: two small issues
1) I installed the latest ESS (Emacs Speaks Statistics) beta release
on a machine running Linux. Since there is no S-PLUS product for
Linux, I set the ess-site.el file for R, xlisp-stat, and S version 4.
I.e.,
;; (1.5) Require the needed dialects for your setup.
;;(require 'essd-s+3)
(require 'essd-r)
(require 'essd-xls)
;;(require 'essd-sas)
;;(require 'essd-s3) ;;
2002 Aug 07
1
ESS assigns .Last.value to the wrong place in R
I repeat my emails of 11/15/01 and 2/26/02, since it looks like this ESS bug is
still not fixed in ESS 5.1.23, and I think some resolution is needed.
When help() is invoked, ESS makes a copy of .Last.value in the .GlobalEnv,
which is *not* where R normally stores it (R stores it in package:base).
When this copy becomes stale it leads to wrong answers. The bug is in
essd-r.el, lines 63-64:
2006 Nov 28
1
observe_form, observe_field, dynamic forms help
I made a pretty lengthy post on what I''m doing here:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/89a2b8e54a874dd9
Short version:
I have a radio_button group of two. If one is clicked another pair of
radio buttons is added, if the other is clicked it is removed.
observe_form does not work for elements added after initial page load.
observe_field does not work
2007 Nov 12
15
If form changed ask if you really want to exit page...
First things first: Hi all! I''ve been sucked into prototype and
script.aculo.us develpment thanks (because of?) the Symfony PHP
framework...
I''d like to implement a feature on some admin pages, but I can''t seem
to find the right search term to google it; I want to ask the user to
confirm exit of a page, if she has changed anything on the forms
displayed on it.
I have
2010 Dec 02
2
foreman dropdown menu broken
Hi,
i just installed foreman from the git repository and the dropdown menu
does not work. Don''t know xhtml well but opera tells me:
Uncaught exception: ReferenceError: Undefined variable: Form
Error thrown at line 3, column 0 in http://130.149.58.152/:
new Form.Element.EventObserver(''settings_dropdown'',
function(element, value) {window.location.href = value;})
2007 Dec 26
2
How to display what item you've dropped item in a sorted list ?
http://wiki.script.aculo.us/scriptaculous/page/print/SortableFloatsDemo
--~--~---------~--~----~------------~-------~--~----~
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 to
2006 Jun 16
4
can someone please show me how to feed a drop down ....
Hi there...
I have a html page that i have to use as a template page for an exucuting
CGI file. (search engine). that source can not be modified on that CGI.
The CGI file pulls in the template file and provides a way to format the
resulting CGI output. (the htm template have has CSS in it to formate the
CGI resulting page)
of cource with html being stateless .. i have no way to put a feed drop
2009 Jun 14
6
Unable to make observe_field work
I can''t make it work.
<%= text_field_tag :friend %>
<%= observe_field :friend, :url => friendships_url, :on => :click %>
<%= javascript_include_tag :defaults %>
Raises the error:Can''t find variable Form.
The generated html is:
<input id="friend" name="friend" type="text" />
<script
2006 Jul 19
1
Catch 22 with after_save. Please help.
I have a pretty strange problem. Here is basically what I have to
demonstrate my problem:
class Event < ActiveRecord::Base
def after_create
AnotherClass.find_event(id)
end
end
class AnotherClass < ActiveRecord::Base
def self.find_event(event_id)
e = Event.find event_id
end
end
Here is the catch 22 and it''s quite annoying. Basically ActiveRecord
puts to whole save
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
2005 Jul 19
0
quick dragdrop question
Hi,
I want to do some custom logic on items being dragged and dropped - I need an
event callback that has a reference to both the element being dropped (the LI),
and the target element that it''s being dropped onto (the UL). I''ve found the
Sortables.create option for creating an onUpdate and onChange handler, and done
the following:
function selectItem(target){
2004 Nov 01
4
ICECast in Flash / IEWin
Hello,
I'm using a flash player. First It didn't work with icecast 2. The blocking
difference between icecast 1 and icecast 2 is that icecast 2 don't send the
Content-Length header.
So, I made a small PHP proxy and now Flash works very well with icecast 2.
Other solution is to add this header in the icecast 2 source code and compile
it, but I don't have time to test.
My
2004 Aug 06
1
Macromedia Flash as mp3 player
Could you explain just how you use Flash to play back the stream?
-------- Original Message --------
Subject: [icecast] Macromedia Flash as mp3 player (30-Okt-2003 10:40)
From: assorgia@tin.it
To: d.moritz@edv-partner.com
> Hi, I've been experimenting on using the flash plugin to listen to
> icecast mp3 streams, so that the user does'nt have to download any
> external
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
2004 Aug 06
4
Patches - Was: Stream metadata settings
Here I go again.
This is the second patch, it adds the ability to override some YP settings
on the server.
<yp-override>1</yp-override>
If this is not set, we don't override the yp flag.
<yp-public>1</yp-public>
When this is set, the stream will be public or non public, according to
it's content. This only works when yp-override is set. It allows to
suppress
2006 Apr 26
6
Immediate help needed
I have posted this previously also but haven''t received any help.
So, if somebody could look into it and guide..
I want to validate the extension of files that I am uploading.
Like I want only the doc/pdf files to be uploaded..
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 15
0
Ticket #4140? observe_field issue.
Take these two basic bits of HTML.
<input id="user_email" name="user[email]" size="30" type="text" value="" />
<script type="text/javascript">
//<![CDATA[
new Form.Element.EventObserver(''user_email'', function(element, value)
{new Ajax.Request(''/account/validate_user_email/0'',