Displaying 20 results from an estimated 1100 matches similar to: "radio buttons and event obvsering"
2005 Aug 23
2
using the evalScript option on Ajax.Updater
Hi all,
I''m having trouble with the evalScript option on the Ajax.Updater. I''ve
removed everything except for the ajax call and a simple alert to try
and debug it. It doesn''t appear that the regex is finding my JS in the
response...
I''m doing an update request and the response is coming back correctly to
the updateConent function as this string:
<script
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question....
Does the prototype object add some way for a class to find out the
variable name of its instance variable?
Or does javascript have some built in way to do this?
This is confusing to describe - but if I define a variable as some
object:
var myVariable= new Widget(''fdfa'');
can some built-in method inside the Widget class be
2004 May 15
1
Re: [Logcheck-commits] CVS logcheck/src
On Sat, 15 May 2004, CVS User ttroxell wrote:
> if [ -f /etc/logcheck/header.txt ] ; then
> - $CAT /etc/logcheck/header.txt >> $TMPDIR/report
> + $CAT /etc/logcheck/header.txt >> $TMPDIR/report \
> + || error "Could not append header to $TMPDIR/report Disk full?"
> fi
> }
>
> @@ -152,7 +157,8 @@
> # Add a footer
2005 Jul 18
13
in place text edit
I''ve written a pretty nice Flickr style in place text edit JavaScript
control based on the Script.aculo.us library.
API is like this:
<span id="editme">Edit me!</span>
<script>
new InPlaceEditor($(''editme''), ''url/to/action'');
</script>
Background changes to gray as mouse hovers over the text (like flickr)
and the
2006 Feb 17
1
AJAX and radio buttons
Hi!
How can i use ajax with radio buttons?
I have form with 2 radio buttons, which updates div with the value of
selected radio button. It worked correctly when i used submit button,
but when i removed it and used observers it didn''t. When i press the
first button it displays its value, but when i press the second button
it displays new value for a moment (0.5s ?) and then suddenly
2006 Jan 18
1
Observing radio buttons
I''m having some problems with observe_field on some radio buttons. seems
to be calling my action on change rather than on click (i.e. when i
click on one button the previously selected button''s action gets called
without a value, then the newly clicked button''s action gets called with
it value) I tried the :on => ''click'' option to no avail.
Any
2008 Sep 15
2
Cannot use PREFIX with wine 1.1.4
I've decided to try out some games with wine 1.1.4 to see if there is improvements (mainly with Bioshock) and, as always, I first created a prefix for those tests.
My first surprise was this message :
Code:
Note: wineprefixcreate is deprecated and shouldn't be needed anymore.
WINEPREFIX creation and updates now happen automatically when needed.
So I said : "it's
2005 Nov 04
1
prototype EventObserver on radio option elements
Hi all,
I just started using prototype 1.3.1. I''ve successfully used
Form.Element.EventObserver on a select list and recently tried to add it
to radio options. However, I think there is a flaw in how it works with
radio options.
Radio options are a little unusual in that there are multiple distinct
elements, tied together by a common name, where changing one element
causes a
2006 Jun 30
7
javascript woes with radio button groups
Ok! So I have this survey project I''m working on where there are a list of
questions but only one shows up at a time.
That part''s easy. And, it is fully functional as we speak (and I think even
''live'') however.....
My boss wants to be able to have the survey go to the next question when a
user selects an answer. This part is easy.. except.....
IE
2006 Jun 28
3
observe_field and radio button... does not work?
I try to catch click event on radio button, but nothing is executed....
Tested with RoR 1.1.2 and 1.1.3. What am I doing wrong?
<%= radio_button_tag(:city, ''Dublin'') %>
<%= observe_field(:citi, :frequency => 0.5,
:on => ''click'',
:with => "''city='' +
2005 Jan 14
1
debugging encrypted part of isakmp
Are there any tools to decode encrypted part of isakmp provided that
identities of both peers are known to me and that I am able to observe
the whole exchange ?
--
Andriy Gapon
2006 Mar 10
0
Multiple radio buttons for defining multiple objects?
Hi, I''ve been working on a multiple choice Question/Answer system. The
response object (analagous to a lineitem) has a question_id, user_id,
and the actual response. What''s a good way of making a form with
multiple response objects which are created from the radio_button
helper?
Right now I''ve got the following code:
2006 Apr 27
0
radio buttons and $F function
Hello there, i working with prototype but i have a little doubt, I''ll always
use the shortcut $F to get values in a form, that''s ok, but what happens if
i need get the value of one of three radio buttons value? normally i get
the radio button value with document.formName.radioName but the shortcuts on
prototype works with the id, there is a prototype way to do this??
greets
--
2009 Apr 15
0
Multiple CheckBox and Radio Buttons
I am using multiple check box (more than 1 checkboxes) and a radio
button and when I click the "Submit" button, it calls the "create"
method it is inserting only 1 value for checkbox and also for the radio
button.
Could you please tell how to insert multiple check box values in create.
Also, in the scaffold edit page, the default "edit" method displays
all
2009 Apr 28
0
Radio buttons in forms
<% form_for @group do |g| %>
To create a new group please complete the details below
<p>
<label> Group Name </label>
<%= g.text_field :name %>
</p>
<p>
<label> Public </label>
<%= g.radio_button :type, "public" %>
<label> Private </label>
<%=
2007 Jan 31
0
radio buttons => What if the value is a FK?
Hi:
I have radio buttons like this in my view:
<%= radio_button :goals, :goaltype_id, ''Recurring'', { :onclick => "new
Effect.SlideDown(''recurring''); return false;" }
%> Recurring<br />
<%= radio_button :goals, :goaltype_id, ''One-time'', { :onclick => "new
2006 Aug 10
3
Radio buttons refusing to load checked...
Hi,
Having big problems with radio buttons that just don''t make sense:
<%= radio_button "events", "impact_type", true %> Positive
<%= radio_button "events", "impact_type", false %> Negative
This should create two radio buttons with the first one checked by
default, right? Cos it doesn''t :(
Any ideas would be great,
Thanks,
2006 Aug 01
3
Radio buttons and AJAX
Hi,
Here is what I would like:
2 radio buttons:
"yes" and
"no"
There will be 2 containers:
<div id="yes" style="display: none;">Yes stuff</div>
<div id="no" style="display: none;">No stuff</div>
What I want is whenever the "yes" radio button is selected, on the "yes"
div should be made
2008 Feb 28
2
change drop down list to radio buttons
In my RoR app I would like to change a drop down list, which dispays a
list of colors selected from the database. Instead I would like to
create a radio button for each color. The user is allowed to check one
color and this will be saved back into the database as the color for
this user.
I don''t know how to do this. Currently it looks like this:
<%= select(:user, :color_id,
2008 Mar 23
1
radio buttons - how to identify record using value?
I''m making a simple questionnaire app using RoR. I''ve got a model for
Questions, a model for Answers, and a third model, Qa, for matching each
question to five possible answers through foreign keys. So, each qa has
a question and five answers , a1-a5, through belongs_to and a
:foreign_key, and then a selected_answer field for specifying which
answer was selected by the user. The